Menu

Feature request?: regions/ custom collapsing

2007-09-07
2012-11-13
  • Nobody/Anonymous

    Maybe it is somewhere, but I couldn't find it. I'm looking forward for a feature allowing to collapse custom areas not only uncommented functions or tags. I mean sth like

    #region Description (in Visual Studio)
    #endregion

    or

    // <editor-fold defaultstate="collapsed" desc=" Generated Code " (in Netbeans)
    // </editor-fold>

    I think that the second syntax is better and could be used in many languages as a tag <editor-fold> in inline comment.

    Bajron

     
    • young

      young - 2007-09-11

      i don't know if polluting the code with those kind of editor dependent syntax is a good idea for a light-weight, all-purpose editor like notepad++.

      then you could add project info, custom project files, compilers, and you would have an IDE, not a code editor....

      ....but then again, you can always write your own plugin (like function list, or textFX), to do just that, and have a syntax of your own, and alaso a choice to turn it on or off ;)