Close all files in notepad++

Viewed 21021

Is there a way to close all files from notepad++ less painfull than going over every single one of them at the time.

I always use it for quick editing files and now there are more 200 files open in the editor which is a bit annoying. I have tried so far to close them by clicking on the close all button (in the menu toolbar) but still it's going over one single of them at the time . And I have also tried to close notepad++ program through task Manager but It still keep the files there.

Here is the version of the notepad++ I'm using : Notepad++ v7.5.1
(64-bit)

Thanks in advance

5 Answers

Via @Florent B.

Click Menu File. Click Close all.

Other Options: Right-click on a tab then you have four options.

Close <- close current tab.
Close all but this.
Close all to the left.
Close all to the right.

Your best bet is Close all but this. That will leave you at two total clicks to close all files.

So Shortcut to Close All Tabs is ctrl + shift + W

And in Case you have lot many tabs unsaved and you don't want to save those and close forcefully

then ctrl + shift + W then press shift + N continuous till all tabs get closed :)

I never wanted the previously opened files to be popped up again when I open notepad. I was going through options and found out a way for the files not to pop up whenever you open notepad. for that

  1. Run Notepad++ as an administrator.
  2. select the settings option on the top of notepad++
  3. Select "preferences". and then select the option "backup"
  4. In that uncheck the "Remember current session for next launch" option
  5. Then on you wont see your previously opened files pop up

Hope it helps, Sorry for any grammatical mistakes.

Using Notepad++ v7.5.6 you should be able to Ctrl+Shift+W

Related