Keep folds closed when closing and reopening scripts

I’ve got some longer scripts that I want to keep organized so I don’t have to sift through them to find the functions or tables I need to change. I use the folds feature to close off the sections of code I’m not using. However, when I close the script and reopen it, all the folds are expanded again.

Is there an easy way to keep folds closed when you close and reopen scripts? I know of the collapse all folds button, but I don’t want to collapse every fold, just whole functions and tables at a time, and keep them like that.

Thanks!

3 Likes

I doubt you can since they’re most likely stored in memory

1 Like