Tomáš Procházka created NETBEANS-5075:
-----------------------------------------
Summary: Remove multiple empty lines when formatting PHP code
Key: NETBEANS-5075
URL: https://issues.apache.org/jira/browse/NETBEANS-5075
Project: NetBeans
Issue Type: Improvement
Components: php - Formatting & Indentation
Affects Versions: 12.2
Reporter: Tomáš Procházka
Assignee: Tomáš Procházka
Formatting options for PHP code offer al lot of different places where blank
lines can be placed.
It would be useful if formatting could remove repeated blank lines from code
and leave only one line.
For example this code
{code:php}
function foo() {
echo "Start\n";
echo "End\n";
}
{code}
will be formatted this way
{code:php}
function foo() {
echo "Start\n";
echo "End\n";
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists