问题
I'm using Visual Studio 2008, and it doesn't seem like once I have collapsed all the regions, I can expand ALL levels of a certain region with one click/command. Notepad++ has this functionality when you ctrl + click on a collapsed region, it recursively expands all regions within it. It's awesome.
Anyone know of a plugin or macro that has this functionality? I'm using a custom language, aka not C++/C# btw
thanks!
回答1:
I am working with VS 2017, but I think it works the same:
By default, ctrl+M+ctrl+E expands at the current line.
But if you choose several lines (e.g., shift + drag the mouse), then ctrl+ME expands everything at all those lines.
来源:https://stackoverflow.com/questions/11149718/recursively-expand-collapsed-regions-in-visual-studio-outlining