There's a button to collapse all, and I use it often. Sometimes, rarely, I want to expand everything, but there's no button for that.
How do I expand all files and folders in Visual Studio Solution Explorer
Asked Answered
Click on the solution in the Solution Explorer and type * on the numeric keypad.
This also works for projects or even just folders inside a project.
Thanks for the answer. You have to use * on the numeric keypad. –
Breaux
@Breaux Thanks Scott. I was hitting shift+8 for a while there so I've added your essential note to the answer. –
Piane
You could use Shift + Left arrow
and Shift + Right arrow
.
That only seems to expand/collapse one level at a time, the same as clicking the arrows or using the left and right keys without shift. –
Madian
© 2022 - 2025 — McMap. All rights reserved.