Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1132

netbeans auto removes the bank lines between two custom fold

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.2
    • None
    • None
    • Windows 10 64 bit, jdk 1.8, jre 1.8

    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.

      Attachments

        1. after-format.jpg
          119 kB
          harunaga
        2. before-format.jpg
          119 kB
          harunaga

        Activity

          People

            Unassigned Unassigned
            harunaga harunaga
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: