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/12/06 13:20:00 UTC
[jira] [Resolved] (NETBEANS-5075) Remove multiple empty lines when
formatting PHP code
[ https://issues.apache.org/jira/browse/NETBEANS-5075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomáš Procházka resolved NETBEANS-5075.
---------------------------------------
Fix Version/s: 12.3
Resolution: Fixed
PR was merged.
> 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
> Fix For: 12.3
>
> Attachments: netbeans-5075.png
>
> Time Spent: 3.5h
> 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: 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