Code Folding

Last modified: 12 April 2022

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

PyCharm | 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.