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

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.

share|improve this question
Related question: Where are the paths of last opened files. Useful in case you cannot open Notepad++ because there is a huge file in this list. – rds Oct 29 '12 at 11:54

1 Answer

up vote 21 down vote accepted

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

share|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
8  
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

Your Answer

 
discard

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.