Fold/collapse all code blocks


#1

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


#2

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.


#3

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


#4

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: