Menu

Can I disable code folding?

Martin O
2008-05-10
2012-11-14
  • Martin O

    Martin O - 2008-05-10

    Is it possible to disable code folding? I've searched the forum & couldn't find an answer. Code folding is one of the first things I turn off in an IDE. Thanks.

     
    • Fool4UAnyway

      Fool4UAnyway - 2008-05-10

      Is code folded by default, then, or perhaps the folding state saved in the session? I don't think it is, but I don't use it anyway.

      You can undo all folding by pressing ALT+SHIFT+0, Unfold All in the View menu.
      You can change the shortcut, if you like, by using the Shortcut Mapper in the Settings Menu.

      Perhaps it would be nice if the folder margin could also be hidden, resulting in always all lines of code being shown automatically. It would create a little more space like hiding the line number margin does.

       
  • John Peterson

    John Peterson - 2010-03-03

    So the answer to martinog is that the code folding margin can't be disabled? In that case, perhaps it can be placed on the wish list?

     
  • cchris

    cchris - 2010-03-03

    Sure. Actually there is a synthetic macro to hide it, but switching documents will show it again. Searching for "fold margin" will reveal it, either in Open discussion or here.

    Please make the request on IdeaTorrent. It has come up on the forums at various times, but not as formally. Wouldn't be terribly difficult to do anyway. Yet another checkbox in Preferences.

    CChris

     
  • pcunite

    pcunite - 2010-03-13

    Indeed turning off code folding is desirable.