I want to collapse all the Art boards I have in one go, not just by manually closing them down.
Is there a short cut or a option in Sketch which enables me to do this?
End result:
Thanks
Personally, I get annoyed by having to click that little layer icon at the bottom of the layer list every time.
Instead, I've set a custom keyboard shortcut. (This approach will work for adding any keyboard shortcut that accesses a menu item from the Sketch Application menu.)
Start by going to to: System Preferences > Keyboard > App Shortcuts.
Then, click the + icon.
When you click the plus icon you'll see the following prompt:
Type the name of the command exactly as it is found in the Sketch application menu, in this case, Show Layers.
Then, type in the shortcut you desire for the command. (For hiding and showing layers, I've found that option + command + g works well, but choose what ever combo of keys works for you.)
Click 'Save'.
Now, in Sketch, if you navigate to the application menu go to View > Layers List, you should now see a shortcut next to the menu item 'Show Layers' that looks like this:
Now, instead of having to click that annoying little icon every time, you have a super quick keyboard shortcut that does the same thing.
(P.S. This approach works for all applications on the Mac, you just have to make sure the shortcut name matches the menu item of the application exactly.)
Good luck!
Here is the solution Collapse Artboards and Groups: https://medium.com/@namba/collapse-artboards-and-groups-for-sketch-3-1-31ee8e784604
You can set a shortcut, but i find it easier to just search help Cmd+Shift+/ navigate with arrow keys and hit enter. I use it for lots of less used actions or actions for which i donot remember shortcut.
In Sketch 74 (and probably earlier versions) it is now located under: View → Sidebar → Collapse All Groups
This collapses all groups & artboards.