minimize methods intellij code example Example: collapse and expand phpstorm ctrl + -numpad = collapse ctrl + +numpad = expand