CLion Help

Code Folding

File | Settings | Editor | General | Code Folding

Show code folding outline Select this check box if you want the code folding toggles (foldingMinusStart, foldingMinusEnd and foldingPlus) to be shown in the editor. Clear the check box to hide the toggles. For more information, see Code Folding.
Collapse by default Use the check boxes in this area to specify which code blocks should be folded by default, that is, when a file is first opened in the editor.

For example, file headers, imports, conditionally non-compiled code etc. are collapsed by default.

See Also

Last modified: 20 October 2015