Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Close all files in notepad++

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

like image 491
kourouma_coder Avatar asked Sep 22 '17 18:09

kourouma_coder


People also ask

How do I close multiple files in Notepad++?

When you run Notepad++ again, Macros > Close All Then Open will exist, and will run those two commands. Using Macro > Modify Shortcut / Delete Command, select Close All Then Open, and assign a keyboard shortcut to your liking, and you now have a keyboard shortcut that does what (I think) you want.

How do you close tabs in Notepad++?

Open Notepad++, Be on the tab you want to close, Press Ctrl + W, this will close the tab you are in.

How do I close the Notepad on my keyboard?

Ctrl + W: Close the Notepad window.


2 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.

like image 130
Sedrick Avatar answered Sep 30 '22 18:09

Sedrick


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

like image 29
Ashish Tripurwar Avatar answered Sep 30 '22 17:09

Ashish Tripurwar