In PhpStorm, what is a quick way to collapse or expand all comment blocks (docs) in a file?
The docs here say:
Folding and expanding code blocks works for entire classes, inner and
anonymous classes, method bodies, import lists, comments, HTML and XML tags,
closures and language injections.
And further down says:
If you hold the Alt modifier and click a toggle button in the gutter, the code block
will be collapsed or expanded recursively, ie all sub-blocks within the parent
block will also be collapsed or expanded.
But I do not see how this one works Alt modifer? I hold Alt, then press the toggle button, and only this block crashes once. I tried this in the doc block of the upper class, as well as in the doc blocks of the properties / methods. Did I miss something?
source
share