Visual Studio Close All Windows

I like the feature in Visual Studio 2005 to "Close all windows except this", but now that I have it I wish it was a little more full-featured...

 1. Close all windows of this type. (When I am unit-testing/debugging, I usually end up with about 50 Results windows open in a half hour).

2. Close all windows except for the 10 MRU (or most-recently-changed) ones.

3. Close all windows opened by Stepping Through Code.

Or, the Unit Testing bits could only open 10 Results windows at most, and recycle the LRU results windows (especially those for the same unit test).

 I find when I am debugging that I step through a bunch of code windows while executing a test, and 90% of them I just step into and out of, but at the end of a relatively simple unit test/debugging session, I have 2 code windows of "working area" code, and 18 windows of (usually framework) code I'm not interested in. (Yes, I know I can mark my framework code so the debugger does not step into it, but I never quite get to that point where I trust that I will never have a bug in there.)

Mike

2 Comments

  • In comparison to 2003 and before, I find that I have a lot of difficulty navigating the open documents in 2005.

    I have the "Close All" command on a button and I use it all the time. "Close All but this" works sometimes, but when I feel lost, I'm rarely on the one file I was looking for ;)

  • I also have faced this problem. This may be due to insufficient RAM.

Comments have been disabled for this content.