Sublime Forum

BufferScroll doesn't save/remember nested fold states. How to enable? Or other plugin advice?

#1

Looks like BufferScroll doesn’t save/remember nested code folding states.

Use case with code example below:

  1. fold one and two

  2. fold top

  3. unfold top

Result: All nested one and two are unfolded suddenly! This is really annoying. Is there a way to configure it? So that the state of any nested folds is saved/remembered?

let top = {
    one : {
        two: {
            foo: 'bar'
        }
    }
}
0 Likes

#2

BufferScroll can’t remember what ST itself doesn’t allow. You can find similar complaints elsewhere in this forum. See also https://github.com/SublimeTextIssues/Core/issues/1815

0 Likes