PyCharm 3.4.0 Web Help

File | Settings | IDE Settings | Editor - Code Folding

settings

Item Description
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

Procedures:

Getting Started:

Web Resources: