[ 
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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to