Kurt Margenau
Kurt Margenau

Reputation: 61

Recursively expand collapsed regions in Visual Studio? (outlining)

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!

Upvotes: 5

Views: 627

Answers (2)

Elliott Beach
Elliott Beach

Reputation: 11453

Just this:

  1. Click on the collapsed region name

enter image description here

  1. Press Ctrl+M, Ctrl+E

Upvotes: 0

uk-ny
uk-ny

Reputation: 71

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.

Upvotes: 5

Related Questions