Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the keyboard shortcuts in Visual Studio?

I would like to change the keyboard shortcut for quick fix in Visual Studio 2013, so that it matches the ReSharper equivalent (which I only use on my office machine). How can I do it?

like image 386
Grzenio Avatar asked Feb 12 '14 21:02

Grzenio


People also ask

How do I find the shortcut keys in Visual Studio?

The Global context means that the shortcut is applicable in any tool window in Visual Studio. You can look up the shortcut for any command by opening the Options dialog box, expanding the Environment node, and then choosing Keyboard.

How do I change my keyboard layout in VS Code?

Customizing Shortcuts All keyboard shortcuts in VS Code can be customized via the User/keybindings. json file. To configure keyboard shortcuts the way you want, go to the menu under File > Preferences > Keyboard Shortcuts. This will open the Default Keyboard Shortcuts on the left and your User/keybindings.

How do I reset Keybinds in Visual Studio?

Click File > Preferences > Keyboard Shortcuts. There is a triple-dot (...) at the top-right hand corner. Click on that and select "Show User Keybindings" Delete your listed keybindings.


1 Answers

One way to do it is to enter on the menu 'Tools', 'Customize' and click on the 'Keyboard...' button near the 'Close' button.

Inside this option you can search for the commands by name (I couldn't find the Quick Fix here), maybe you want the Edit.FormatDocument one, that makes the indentation for the documents automatically.

If you can't find this option, tell me your quick fix actual keyboard shortcut, so I'll be able to check which function it calls.

I did some research on the R# QuickFix option and maybe what you want is this is the option you want: View.ShowSmartTag.

like image 138
Rafael Merlin Avatar answered Oct 13 '22 22:10

Rafael Merlin