Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change shortcut for 'switch to markup' in Visual Studio 2010

How do I switch the shortcut for 'toggle to markup'?

Shift + F7 is toggle to designer.

In Visual Studio 2008 I can toggle between the code-behind and the markup with F7. I got used to it and want to have the same shortcut in Visual Studio 2010 Beta2. How can I achieve that?

like image 986
citronas Avatar asked Dec 31 '09 10:12

citronas


People also ask

How do I change the shortcut key in Visual Studio?

All keyboard shortcuts in VS Code can be customized via the keybindings. json file. To configure keyboard shortcuts through the JSON file, open Keyboard Shortcuts editor and select the Open Keyboard Shortcuts (JSON) button on the right of the editor title bar. This will open your keybindings.

What is Ctrl Shift F in Visual Studio?

Ctrl-Shift-F is used to find all the ocuurance of a string with in entire solution and display find result window as shown below. Ctrl-F is used to find a string in the current document, project and all open documents one by one.

What is F12 in Visual Studio?

Peek Definition Alt+F12 If you've installed Visual Studio 2013, there's a new keyboard shortcut -- Alt+F12 -- that will give you a preview of the method being called inline. You can use the Esc key to close the preview.


1 Answers

In 2008 you could go into Tools --> Options --> Keyboard and in the Press Shortcut keys field you could type a shortcut and it would tell you what its currently mapped to.

In 2008 its mapped to View.ToggleDesigner.

Once you know what its mapped to, type it into the Show Commands containing field, and it will filter your list down.

I don't have 2010 on this computer, so I cannot verify if you can do the same in that version.

like image 163
Brian Schmitt Avatar answered Oct 05 '22 03:10

Brian Schmitt