Daily Archives: 30 October 2015

Shortcut to Collapse All Projects in Solution Explorer of Visual Studio

It’s nice to be able to collapse all projects in Visual Studio Solution Explorer. If you hate mice like me, it’s even nicer to have a keyboard shortcut to do that for you.

In Visual Studio, go to Tools > Options > Keyboard. In the Show commands containing text box, type in CollapseProjects. Select the ProjectandSolutionContextMenus.Projects.CollapseProjects and assign it your shortcut as shown below:collapse projects shortcut