stuart
stuart

Reputation: 11

Select code window after compiling

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?

Upvotes: 1

Views: 51

Answers (2)

Greg Hewgill
Greg Hewgill

Reputation: 993183

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.

Upvotes: 1

Vagif Abilov
Vagif Abilov

Reputation: 9991

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.

Upvotes: 0

Related Questions