Code Folding
Command | Shortcut | Description |
---|---|---|
Expand | ⌘+ | Expand the current collapsed fragment |
Collapse | ⌘- | Collapse the current folding region |
Expand All | ⇧⌘+ | Expand all collapsed fragments within the selection, or, if nothing is selected, expand all the collapsed fragments in the current file |
Collapse All | ⇧⌘- | Collapse all folding regions within the selection, or, if nothing is selected, collapse all the folding regions in the current file |
Fold Selection / Remove region | ⌘. | 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" |