IntelliJ IDEA 2018.2 Help

Code Folding

File | Settings | Editor | General | Code Folding for Windows and Linux
IntelliJ IDEA | Preferences | Editor | General | Code Folding for macOS
Ctrl+Alt+S icons general settings svg

Use this page to specify your code folding preferences.



Show code folding outline

Select this checkbox if you want the code folding toggles (foldingMinusStart, foldingMinusEnd and foldingPlus) to be shown in the editor. Clear the checkbox to hide the toggles.

Collapse by default

Select the code fragments which should be folded by default, that is, when a file is first opened in the editor.

Last modified: 20 November 2018

See Also

Getting Started: