JetBrains DataSpell 2021.2 Help

Code folding

Folded code fragments are shown as shaded ellipses (Folded fragment). If a folded code fragment contains errors, JetBrains DataSpell highlights the fragment in red.

Refer to Code folding for more details.

CommandShortcutDescription
ExpandCtrl+NumPad +Expand the current collapsed fragment.
CollapseCtrl+NumPad -Collapse the current folding region.
Expand RecursivelyCtrl+Alt+NumPad +Expand the current folded fragment and all the subordinate collapsed folding regions within that fragment.
Collapse RecursivelyCtrl+Alt+NumPad -Collapse the current folding region and all the subordinate folding regions within it.
Expand AllCtrl+Shift+NumPad +Expand all collapsed fragments within the selection, or, if nothing is selected, expand all the collapsed fragments in the current file.
Collapse AllCtrl+Shift+NumPad -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 5Ctrl+NumPad *, 1
Ctrl+NumPad *, 2
Ctrl+NumPad *, 3
Ctrl+NumPad *, 4
Ctrl+NumPad *, 5
Expand the current fragment and all the nested fragments up to the specified level.
Expand all to level | 1, 2, 3, 4 or 5Ctrl+Shift+NumPad *, 1
Ctrl+Shift+NumPad *, 2
Ctrl+Shift+NumPad *, 3
Ctrl+Shift+NumPad *, 4
Ctrl+Shift+NumPad *, 5
Expand all the collapsed fragments in the file up to the specified nesting level.
Fold Selection / Remove regionCtrl+.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: 06 April 2021