8
votes

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

4
Menu File > Close allFlorent B.
It's still ask : save file "167" ?kourouma_coder
If you have files that have not been saved, it's going to ask if you want to save the file.Sedrick
I don't need those files anymore so I just want to close them allkourouma_coder
Close Notepad++ and delete the backup folder (C:\Users\...\AppData\Roaming\Notepad++\backup).Florent B.

4 Answers

12
votes

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.

5
votes

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 :)

2
votes

Go to Settings -> Shortcut Mapper - > Close All. And then, set your own shortcut to close all the documents in Notepad++

1
votes

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