When I am working on a project and compiling all the time, it gets very annoying having to select the code window with the mouse each time after compiling, is there a keyboard shortcut in visual studio to select the code window?
A:
If you press Alt+W, then Visual Studio opens a list with open windows. You can then select the number corresponding to the window you want to activate. For example, Alt+W,1 activates the first window in the list.
Vagif Abilov
2010-07-20 20:09:18
A:
You can ctrl+tab to switch from one window to another within Visual Studio.
Jon B
2010-07-20 20:09:53
I compile and then press ctrl+tab and I'm back in the code window. Not sure why this is downvoted.
Jon B
2010-07-27 17:11:15
+1
A:
Back when I used Visual Studio, the F4 key went to the next error location in the code and automatically selected the code window. Also try Esc. I think the "next error" keystroke is different in more current versions of VS, so use whatever your keyboard mapping offers.
Greg Hewgill
2010-07-20 20:10:10
+1
A:
Simply press Esc, that almost always gets you back to the code window.
stakx
2010-07-20 20:13:26