Collapse All in Visual Studio

19 02 2007

I’ve been having some problems with some plugins I installed in Visual Studio 2005.  I like to have everything neat and clean, but this particular plugin keeps expanding all of the items in my Solution Explorer.  I searched the net for a solution and came across a macro that will collapse all of them for me!  Now, I’m a happy camper.

Try it out.  After you get it all set up, you will be able to collapse everything by just pressing alt+/.

Collapse all in Visual Studio [via Falafel]