By default, the File.CloseAllButThis command File.CloseAllButThis not have a keyboard binding. You can configure it yourself as shown below:

In this example, I'm going to map CTRL + SHIFT + ALT + W to File.CloseAllButThis in the global area. You can set the scope for a text editor only.
I close all documents using ALT + W + L.
This is available in Visual Studio without any special plugins or configuration. It just uses toolbar mnemonics. The corresponding Window.CloseAllDocuments command in case you want to associate it with something else.
Drew Noakes Oct. 13 '08 at 10:36 2008-10-13 10:36
source share