You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2020/11/29 10:53:00 UTC
[jira] [Created] (NETBEANS-5075) Remove multiple empty lines when
formatting PHP code
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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists