How can I collapse / expand all projects in Solution Explore using keyboard?
Here's how to assign a keyboard shortcut to collapse all projects in Visual Studio Solution Explorer. In Visual Studio, go to Tools > Options > Keyboard. In the Show commands containing text box, type in CollapseProjects.
How to Collapse All Folders in VS Code? To fold all the folders in your code: Enter command >fold and hit enter.
CTRL + M + O will collapse all.
Not available in Visual Basic. (Ctrl+M, Ctrl+O) - Collapses the members of all types.
In Visual Studio 2013 it is finally just part of solution explorer... with a "Collapse All" icon.
The right click option available with earlier versions of power tools in is not there but clicking the icon is easier anyway.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With