| Expand |
Ctrl+Add; Ctrl+EqualsCtrl+Add; Ctrl+Equals
| Expand method, class or any other foldable block of code at caret. |
| Collapse |
Ctrl+Subtract; Ctrl+MinusCtrl+Subtract; Ctrl+Minus
| Fold method, class or any other foldable block of code at caret. |
| Expand All |
Ctrl+Shift+Add; Ctrl+Shift+EqualsCtrl+Shift+Add; Ctrl+Shift+Equals
| Expand all folded blocks in the current source file. |
| Collapse All |
Ctrl+Shift+Subtract; Ctrl+Shift+MinusCtrl+Shift+Subtract; Ctrl+Shift+Minus
| Collapse all foldable blocks in the current source file. |
| Fold Selection / Remove Region |
Ctrl+.Control .
| Collapse or expands the current selection.
This option folds or unfolds arbitrary fragments of text.
|
| Fold Code Block |
Ctrl+Shift+.Control Shift .
| Collapse current block of code, even though that block does not have folding toggles,
for example,
if
or
when
constructs.
|