Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio hotkey to switch between code behind and source file?

I use the Shift + F7 often to switch between source and design view.

Does anyone know of a hotkey to switch between the source file and its code behind file, e.g. between (Default.aspx and Default.aspx.cs)?

like image 322
Edward Tanguay Avatar asked Nov 26 '08 09:11

Edward Tanguay


People also ask

How do I switch between codes in Visual Studio?

Hold Ctrl and press Tab to view a list of all files open in an editor group. To open one of these files, use Tab again to pick the file you want to navigate to, then release Ctrl to open it. Alternatively, you can use Ctrl+Alt+- and Ctrl+Shift+- to navigate between files and edit locations.

How do I go back to the previous code in Visual Studio?

I love using the command palette in VS Code to jump to a specific file. You can open the palette with the keyboard shortcut Cmd+P and then start typing for the name of the file you are looking for.

What is Ctrl K in VS Code?

To launch the Define Keybinding widget, press Ctrl+K Ctrl+K. The widget listens for key presses and renders the serialized JSON representation in the text box and below it, the keys that VS Code has detected under your current keyboard layout.

What is Ctrl D in VS Code?

Ctrl+D selects the word at the cursor, or the next occurrence of the current selection. Tip: You can also add more cursors with Ctrl+Shift+L, which will add a selection at each occurrence of the current selected text.


Video Answer


1 Answers

F7

like image 115
splattne Avatar answered Oct 09 '22 18:10

splattne