WebStorm 9.0.2 Web Help

Folding and Expanding Custom Blocks

Custom code blocks can be represented either by an arbitrary selection, or code constructs not marked with the folding toggles (for example, if or while).

To fold an arbitrary selected block

  1. Select contiguous fragment of code in the editor.
  2. On the main menu, choose Code | Folding | Fold Selection / Remove Region , or press Ctrl+Period

See Also

Last modified: 11 December 2014
comments powered by Disqus