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.
Asked
Active
Viewed 2,695 times
1 Answers
18
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.

Iain Holder
- 14,172
- 10
- 66
- 86

Kevon
- 984
- 8
- 28
-
2Thanks for the answer. You have to use * on the numeric keypad. – Scott Sep 21 '22 at 18:38
-
@Scott Thanks Scott. I was hitting shift+8 for a while there so I've added your essential note to the answer. – Iain Holder Oct 22 '22 at 08:23