Fold/collapse all code blocks


A hotkey that could allow folding all code blocks like Atom’s fold all here:


Is there a way to make a plugin that could do this or any example PRs that have added new hotkeys?
It’s easier to read through lots of code sometimes when you can collapse a large file first.


There is edit>code folding>fold othercommand bound toalt-0(cmd-alt-0` on mac), which folds all the blocks except those around the cursor


Today I searched again in Preferences -> Keybindings for “fold” and found an unset “foldall” key command. I’ve set mine to ctrl+alt+shift+[

Thanks C9 :bowing_man: