[
https://issues.apache.org/jira/browse/NETBEANS-5075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241738#comment-17241738
]
Tomáš Procházka commented on NETBEANS-5075:
-------------------------------------------
PR adds new formatting option and modifies formatting:
!netbeans-5075.png!
> 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
> Priority: Minor
> Labels: pull-request-available
> Attachments: netbeans-5075.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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