IntelliJ IDEA 14.1.0 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, one-line comments etc. are collapsed by default.

See Also

Last modified: 14 July 2015