r/SublimeText • • Oct 16 '26

Remember Folding

When I close sublime text and reopen it, the folds disappear and code is fully spread. How can I make it so that it remembers what I folded and what not?

1 Upvotes

6 comments sorted by

1

u/cflexer Oct 17 '26

No one?

1

u/Emanator144 Oct 17 '26

You need to install AutoFoldCode plugin

1

u/cflexer Oct 17 '26

There is no AutoFoldCode in Package Control. Only this: https://packagecontrol.io/packages/Auto%20Fold

1

u/Emanator144 Oct 17 '26

1

u/cflexer Oct 17 '26

That is not shown on package install in sublime text. I downloaded it manually. Thank you so much! It worked

1

u/anto77_butt_kinkier 12d ago

There's no way to do this by default. There are some plugins that remember the folded states of things, but sadly there's no way to maintain the nested folds or change the default folding behavior. It sucks, but the only thing you can really do to fix this is to build a plugin yourself or pay someone to write a plugin.