When editing a large file, I like to collapse code fragments using the + symbols in Notepad++'s sidebar. However, the code is completely unfolded when I close and reopen a file.

Is there a way to store the state of folding in a file?

link|improve this question

75% accept rate
feedback

2 Answers

Partial answer (saves and restores the entire set of tabs, not just the current file): File > Save Session...

link|improve this answer
feedback

As of now/ver6.0 it's not possible to do so. You may write your own plugin for that if you have knowledge of C/C++. Alternatively you can close entire window, doing so will save the current session. Next time when you will open Notepad++ then you will find the files you were working on.

link|improve this answer
What settings do i change when the session is not stored by default? – Lg102 Dec 7 '11 at 8:05
@Lg102 Go to Setting > Preferences > MISC. > Check Remember current session for next launch – Santosh Mar 30 at 9:25
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.