In atom, the below is what you use to fold code by indent levels, but how do you do this in sublime?
Ctrl+k, then Ctrl+1 ... 9 Fold all code at indent level 1 ..
Same:
Ctrl + K, Ctrl + 1 to fold all code on indent 1.
To unfold all Ctrl + K, Ctrl + J.
Same procedure all the way to indent 9 (Ctrl + K, Ctrl + <number>). You can also fold by clicking on the side line number arrow:

CMD/CTRL + K, CMD/CTRL + <number>
for example, on MacOS, to fold to indent-level-1: CMD+K, CMD+1
Using menus: On MacOS: Edit > Code Folding > <level>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With