How do I expand all files and folders in Visual Studio Solution Explorer
Asked Answered
B

2

17

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.

Benzine answered 9/12, 2021 at 22:4 Comment(0)
B
25

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.

Benzine answered 9/12, 2021 at 22:4 Comment(2)
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
S
0

You could use Shift + Left arrow and Shift + Right arrow.

Sair answered 25/5, 2024 at 19:18 Comment(1)
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.