This is a really, really useful feature. But i’ll always remember how difficult it was for me to find bugs with it. That really frustrates a tester, when you can’t break a dev’s newly written code. =)
Right-click on a File Tab, and select Close All But This. This command will close all the other files in the editor, except for the currently-activated file, obviously.
And yes, you can bind it to a keyboard shortcut. The command is File.CloseAllButThis. In the general environment settings, this isn’t bound to any keyboard shortcut, so have fun!
Technorati tags: VS2005Tip, VS2008Tip