Tag Archives: Visual Studio

F7 to toogle between markup and code behind in Visual Studio 2015

Working with ASP.NET a nice keyboard shortcut is F7, which by default will take you from the markup to the code behind file. Unfortunately it is not bound to take you to the markup from the code behind file.

But you can set this up by going to the menuĀ Tools -> Options… -> Environment -> Keyboard
In the text box labeled “Show commands containing:” type “toggledesigner” and set up F7 as the global shortcut key.