Alex Rivera | Logout

What is the shorcut in visual studio to switch from code behind to Xaml Code?

Asked 2009-05-12T12:03:44.003
32

I'm used to press shift+F7 to switch between my code behind and the designer (which takes between 1 and 5 seconds to load) then I always have to click on View Xaml to modify my XAML code.

I don't find any shortcut in Tools/Options/Keyboard to go directly (from code behind to XAML code). How can I do that ?

Edit
Report

1 Answer

4

When I first installed VS2010, my keyboard mappings were set to (Default). The default setting had View.ViewDesigner mapped to "Shift-F7 (HTML Editor Source View)". To get the shortcut to work in all views, I had to change the mapping to "Shift-F7 (Global)". Changing the keyboard mappings to "Visual C# 2005" worked as well.

answered 2010-04-20T17:58:19.330

Your Answer