Sublime Forum

How to set code to fold by default?

#1

Is there a way to change the default (user) settings such that the folds are closed when the file is open? I have some code with very long procedures that don’t really need to be seen and I fold these sections when I’m working on the file but when I save and reopen, they are open again. I would love it if there were a way to change this.

Thanks,
Annik

1 Like

#2

github.com/SublimeText/BufferScroll

1 Like

#3

excellent package! I tried to find a package doing things exactely as bufferScroll, but never found. thx god I saw your reply :smiley:

0 Likes

#4

+1 to bufferScroll - It saves all state that you usually lose when closing the editor

0 Likes

#5

No, it is not excellent. It can’t remember nested code fold state.

0 Likes

#6

Seems a problem on Sublime Text:

I opened a issue on the core issue tracker for it:

  1. Core$1815 Remember nested folding state
0 Likes