Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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

share|improve this answer
This was the answer I needed, to help notepad++ remember my previous state of pages that had folded regions. thanks! – blackhawk Aug 7 '15 at 22:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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