F7 In Visual Studio 2010 - What Are The Opposites?

When I view an aspx page in Visual Studio 2010, I can press F7 , after which the code will open. Is there an input method that I can use to return aspx frontend code?

+7
source share
7 answers

F7 goes back and forth for me.

Shift + F7 switches design and source views in ASPX.

+1
source

Shift + F7 does the opposite (but it annoys the Design view, so you need to press F7 twice while holding Shift to get to the source).

Here is a list of default keywords.

+5
source

Well, the tag is Visual Studio, so I’ll add

that F7 depends on your design settings; if you have C ++ settings, F7 builds your projects.

You can get Visual Studio 2010 Keybinding Posters from here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=92ced922-d505-457a-8c9c-84036160639f

+2
source
  • Set Open Options from tools in Visual Studio:
    Tools> Options> HTML Designer (left navigation)
    Then make sure the "Enable HTML Designer" is checked. Then select "Source View" from the "Start pages in".

enter image description here

  1. Set switch label
    Tools> Options> Keyboard
    Find "View.ToggleDesigner" in "Show Commands Containing"
    Add a new shortcut to Global using F7 .

enter image description here

+2
source

If you want F7 to do the same thing as Shift + F7 , just follow this http://www.mortenbock.dk/blog/2010/11/12/f7-broken-in-vs2010.aspx

0
source

In Visual Studio 2013 (not sure about earlier versions), it works as follows:

In the designer

F7 - Makes you follow the code

Shift + F7 - Switch between Design and Source views

In the code behind:

Shift + F7 - Comes to the Designer (Note: The designer will be in the Design view, so you will need an additional shift of + 7 to get to the original view)

0
source

Shift + F7 is so terribly slow that you need to go through the design.

I do: Ctrl + [ , Ctrl + S , Up , Enter , which is much faster when you get used to it.

If you are like me and hate to load a flaccid design on the front end, this hotkey + 2 inputs is better / faster than Shift + F7 .

Ctrl + [ , Ctrl + S - Shortcut for synchronization with the active document, i.e. browse to the current file for solutions. Then just click and enter and you are in the desired file!

0
source

All Articles