unfold all code phpstorm code example Example: collapse and expand phpstorm ctrl + -numpad = collapse ctrl + +numpad = expand