The action is called Collapse All
and the default shortcut is Ctrl + NumPad - on Windows and Cmd + - on Mac (the project view has to be focused).
The action is called Collapse All
and the default shortcut is Ctrl + NumPad - on Windows and Cmd + - on Mac (the project view has to be focused).