IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Code Folding

Last modified: 10 August 2022

File | Settings | Editor | General | Code Folding for Windows and Linux

IntelliJ IDEA | Preferences | Editor | General | Code Folding for macOS

Ctrl+Alt+S the Settings/Preferences icon

Use this page to specify the default code folding settings. For shortcuts on how to expand or collapse code elements, refer to the code folding section.

Getting Started