Sublime Forum

Nested fold all

#1

I want to be able to fold everything recursively and incrementally expand the folded code.

I’m aware of the “Fold-level” options, but find them to be a bit clunky to use. I’d rather have something simpler. Right now if I fold everything, then when I unfold any child folds are expanded as well, which makes fold-all nearly useless for me.

An example showing what I want:

First, I fold all:

I...

then click arrow next to “I” to expand

I
  a...
  b...
  c...

then click arrow next to “a” to expand

I
  a
    1
    2
    3
  b...
  c...

etc.

2 Likes

#2

Solved by switching to Atom, which has support for this.
:stuck_out_tongue:

1 Like