Hi,
I use keyboard shortcuts and outlining a lot but I'm unaware of any macro or keyboard shortcut for collapsing/expanding all regions with all the "sub" regions in those, for a selected piece of code, like a method for example. Anyone knows about such a macro or shortcut?
Grz, Kris.
Ctrl + M + L is the shortcut.
Regards,
Fernando
FerVitale: Hi, Ctrl + M + L is the shortcut.
Thanks but I know that short cut. It only works on entire files, not on selected parts in a file.
So in that case, put the cursor on the region line and press Ctrl + M and then M again. If region was open it will be closed and if it was closed it will be open.
That's true but I still need to ctrl M, M each region and subregion. I'm after collapsing/expanding them all at once for only the selected code and all regions and subregions at once.