Is there a way to save the code folding in Notepad++?

6

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?

Lg102

Posted 2011-12-06T16:44:56.433

Reputation: 293

Answers

2

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

Gnubie

Posted 2011-12-06T16:44:56.433

Reputation: 2 371

This was the answer I needed, to help notepad++ remember my previous state of pages that had folded regions. thanks! – klewis – 2015-08-07T22:27:46.663