Is it possible to make Notepad++ close all open tabs when it is shut down?

Currently when a new file is opened with Notepad++ all previously open tabs (and of course the files open in those tabs) are reopened.

link|improve this question
feedback

1 Answer

up vote 16 down vote accepted

Settings > Preferences > MISC > Uncheck Remember the current session for next launch

link|improve this answer
Excellent, thank you! I knew that this had to be possible, but for somereason never thought to get under MISC. Now to decide if I actually want to change the behaviour... – David Hall Jul 22 '09 at 3:21
7  
I can never decide which I want either. I need a program which reads my mind and only shows the previous session if I plan to work on those files. :) – Dan Walker Jul 22 '09 at 3:23
An interesting option would be to have it remember the session if you hold down a modifier key while closing the program or something. Or, like Firefox can, just prompt you when you close it. – jtbandes Jul 22 '09 at 4:04
The problem with that is that I often don't know if I will want it until the next time it starts. I think it would work better if it restored the session if you hold down a modifier key while it starts up. (Hmm, I may have to make some sort of experimental app for this...) – Dan Walker Jul 22 '09 at 4:07
2  
@Dan: just close the documents (Ctrl+Shift+W) when you start NP++, if you decide don't want them open. – DisgruntledGoat Jul 22 '09 at 9:24
feedback

Your Answer

 
or
required, but never shown

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