F7 broken in VS2010
Published on 12. November 2010 inI 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 ->
Keyboard
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.


On 11. February 2011 by Rachel
Thanks so much for that, I thought it was just me! :)
On 19. November 2011 by Wallace
Thanks so much!