F7 broken in VS2010Published on 12. November 2010 in
I just had a small problem when working on a web project in Visual Studio 2010. It seems that the F7 shortcut by default will only switch you from MarkupView => CodeView. But not the other way. The only way to get back is SHIFT+F7, which will take you to DesignView instead of Markup, and let's face it, no one wants to go there.
So, the solution is:
1. Go to Tools -> Options -> Environment ->
2. In the "Show Commands Containing" box, write "View.ToggleDesigner"
3. In the "Press Shourtcut Keys" box, press F7.
4. Click "Assign"
5. Click "OK"
Now it should all be back to normal, or at least the way that I like it.