Folding code in ST-editor

Logical-related source code blocks are automatically grouped in the ST-editor, if code folding is enabled. You can fold such blocks by clicking icon images/download/thumbnails/409863603/IconCollapseCode-version-1-modificationdate-1531299978881-api-v2.png that is displayed on the left edge. Click icon images/download/thumbnails/409863608/IconExpandCode-version-1-modificationdate-1531300001140-api-v2.png , if you want to expand the block again.

How to enable/disable the code folding:

  1. Point to the border left of the code.

    images/download/attachments/409863788/MarkerBar-version-1-modificationdate-1531306949727-api-v2.png
  2. Open the context menu, select Folding and Enable Folding.

How to expand all blocks (only possible, if code folding is enabled):

  1. Point to the border left of the code.

  2. Open the context menu, select Folding and Expand All.

How to collapse all blocks (only possible, if code folding is enabled):

  1. Point to the border left of the code.

  2. Open the context menu, select Folding and Collapse All.