How to make PHPStorm collapsing all methods/functions on file open?

Dmitry K. picture Dmitry K. · Oct 30, 2015 · Viewed 35.6k times · Source

How to make something like this? (all methods collapsed by default without any hotkeys)

collapsed methods

Answer

Andrew picture Andrew · Feb 2, 2017

This works for me: CTRL SHIFT numpad -

It also collapses the class... but then just manually re-open the class by clicking the + and the methods are folded.

And then you can re-open all methods with CTRL SHIFT numpad +

https://www.jetbrains.com/help/phpstorm/code-folding-commands.html