File | Settings | IDE Settings | Editor - Code Folding
Ctrl+Alt+S
settings

ItemDescription
Show code folding outlineSelect this check box to have a thin line displayed between the folding toggles for an unfolded block of code. See Code Folding for details.
Collapse by defaultIn this area, specify which code blocks should be collapsed by default when a file is first opened in the editor. Select the check boxes corresponding to desired code block types.

See Also

Procedures:

Getting Started:

Web Resources: