You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "harunaga (JIRA)" <ji...@apache.org> on 2018/08/11 19:13:00 UTC

[jira] [Updated] (NETBEANS-1132) netbeans auto removes the bank lines between two custom fold

     [ https://issues.apache.org/jira/browse/NETBEANS-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

harunaga updated NETBEANS-1132:
-------------------------------
    Description: 
I'm using netbeans to code PHP, the annoying thing is it auto remove my blank line that separate two custom fold made by editor-fold tag, for example

//<editor-fold desc="module A">
 code for module A goes here
 //</editor-fold>

- this is blank line –
 //<editor-fold desc="module B">
 code for module B goes here
 //</editor-fold>
 And I want it in collapsed state like this.

//module A

--this is blank line--
 //module B
 But when I reformat my code, the blank is auto-removed, make my code is not separated, and it becomes

//module A
 //module B
 How to get over it. please help.

  was:
I'm using netbeans to code PHP, the annoying thing is it auto remove my blank line that separate two custom fold made by editor-fold tag, for example

//<editor-fold desc="module A">
 code for module A goes here
 //</editor-fold>
- - this is blank line --
 //<editor-fold desc="module B">
 code for module B goes here
 //</editor-fold>
 And I want it in collapsed state like this.

//module A
- - this is blank line --
 //module B
 But when I reformat my code, the blank is auto-removed, make my code is not separated, and it becomes

//module A
 //module B
 How to get over it. please help.


> netbeans auto removes the bank lines between two custom fold
> ------------------------------------------------------------
>
>                 Key: NETBEANS-1132
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1132
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Editor, php - Formatting &amp; Indentation
>    Affects Versions: 8.2
>         Environment: Windows 10 64 bit, jdk 1.8, jre 1.8
>            Reporter: harunaga
>            Priority: Major
>         Attachments: after-format.jpg, before-format.jpg
>
>
> I'm using netbeans to code PHP, the annoying thing is it auto remove my blank line that separate two custom fold made by editor-fold tag, for example
> //<editor-fold desc="module A">
>  code for module A goes here
>  //</editor-fold>
> - this is blank line –
>  //<editor-fold desc="module B">
>  code for module B goes here
>  //</editor-fold>
>  And I want it in collapsed state like this.
> //module A
> --this is blank line--
>  //module B
>  But when I reformat my code, the blank is auto-removed, make my code is not separated, and it becomes
> //module A
>  //module B
>  How to get over it. please help.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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