About Code Collapse

Code collapse (code folding) can be used to hide irrelevant pieces of code for easier perception and navigation. There are two code collapse modes:

  • Code Collapse for Selection.
  • Code Collapse for Code.

Using Code Collapse for Selection

  • To enable this, on the Options menu, click Code Collapse for Selection.
  • Select the text you want to hide. Use "+" and "-" icons on the gutter to expand and collapse blocks of text.

Using Code Collapse for Code

  • To enable this, on the Options menu, click Code Collapse for Code.
  • If the current document type supports Code Collapse for Code, you will be able to expand and collapse blocks of code by using the "+" and "-" icons on the gutter.

Notes

  • Only one of the both Code Collapse modes can be used at the same time.
  • Code Collapse state is saved when closing a file.
  • To quickly reference the folded code, place you mouse over the fold sign in the code editor.