You can fold or unfold any manually selected regions in code. CodeLobster IDE folds or unfolds the current code fragment, for example, a single method. Folded code fragments are shown as a shaded box ( ).
To fold a code fragment:
Select Ctrl + Num + -) main menu item or move the mouse over the gutter and click .
(To unfold a code fragment:
Select Ctrl + Num + +) main menu item or move the cursor over the gutter and click .
(
CodeLobster IDE collapses or expands all fragments within the selection, or, if nothing is selected, all fragments in the current file, for example, all methods in a file.
To collapse or expand all code fragments, select Ctrl + Shift + -) or (Ctrl + Shift + +) item.
main menu item (
When you hover cursor to folded fragment you see a code preview tooltip: