PyCharm 2017.1 Help

Code Folding

File | Settings | Editor | General | Code Folding for Windows and Linux
PyCharm | Preferences | Editor | General | Code Folding for macOS

Use this page to specify your code folding preferences.

Show code folding outline Select this check box if you want the code folding toggles (/help/img/idea/2017.1/foldingMinusStart.png, /help/img/idea/2017.1/foldingMinusEnd.png and /help/img/idea/2017.1/foldingPlus.gif) to be shown in the editor. Clear the check box 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.

See Also


Getting Started:

Last modified: 25 March 2017