Can’t find a window anymore? That’s no problem since you can find all the tool windows in the corresponding menu in Visual Studio.
Looking for Windows in VS
It’s under the View menu:
Well, sometimes also unter the View » Other Windows menu:
If it’s one of the test windows (Test View, Test Results, Test Manager, Code Coverage Results, Test Runs) you better start looking at Test » Windows (instead of View):
And last but not least there is of course the Window menu. But you can’t find your windows here unless there are already open.
Use keyboard shortcuts
Now a quicker solution is to use keyboard shortcuts to tool windows more extensively. In our scenario we want to be able to open the Pending Changes Window.
You can specify or customize keyboard shortcuts in the Tools » Options dialog in Visual Studio:
From the treeview select Keyboard, enter "View.TfsPendingChanges" in the "Show Command containing" text box and the desired shortcut into the Press shortcut keys box (just press the keys you want to map) and finally hit Assign.
In this example I mapped the combination Ctrl + P, Ctrl + C (which stands for Pending Changes) to the View » Pending Changes command.
Note: You should consider to use nother shortcut since Ctrl + P usually maps to File.Print.