One feature that I miss from Visual Studio (and which I've never seen anywhere else) is "collapse methods" or something like that. In essence, you collapse method (function) bodies and ONLY function bodies. That is, if there is an if
statement inside that function, it DOESN'T get collapsed. So that when you expand the function body, it ALL gets expanded.
In PhpStorm you can collapse starting at level X (which would work), but it then also recursively collapses everything below that level, which isn't what I want at all. I just want to collapse all methods at their top level so that I can see a class with its method names, and then when I click a particular method to expand, I want it all to get expanded and see the full source.
Is this possible somehow?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…