Code Folding
| Command | Shortcut | Description |
|---|---|---|
| Expand | N/A | Expand the current collapsed fragment |
| Collapse | N/A | Collapse the current folding region |
| Expand Recursively | N/A | Expand the current folded fragment and all the subordinate collapsed folding regions within that fragment |
| Collapse Recursively | N/A | Collapse the current folding region and all the subordinate folding regions within it |
| Expand All | N/A | Expand all collapsed fragments within the selection, or, if nothing is selected, expand all the collapsed fragments in the current file |
| Collapse All | N/A | Collapse all folding regions within the selection, or, if nothing is selected, collapse all the folding regions in the current file |
| Expand to level | 1, 2, 3, 4 or 5 | N/A N/A N/A N/A N/A | Expand the current fragment and all the nested fragments up to the specified level |
| Expand all to level | 1, 2, 3, 4 or 5 | N/A N/A N/A N/A N/A | Expand all the collapsed fragments in the file up to the specified nesting level |
| Fold Selection / Remove region | N/A | Collapse the selected fragment and create a custom folding region for it to make it "foldable" / Expand the current fragment and remove the corresponding custom folding region to make the fragment "unfoldable" |
Last modified: 10 January 2018