How convenient is it to install Visual Studio 2010 keyboard shortcuts, especially when using ReSharper?

In each version of Visual Studio.NET, you can set keyboard shortcuts using the menu Tools → Options → Environment → Keyboard, and then find the command that you want to assign to the shortcut by entering part of it in “Show commands containing” ,.

Firstly, the list is ridiculously short and hard to navigate - is there an alternative?

Then, how do you know the correct command name for a specific action?

In particular, I use ReSharper 5.1 with Visual Studio 2010 and want to have the Alt + Enter shortcut back (it used to be in older versions by default), which opens the ReSharper context menu when the cursor is over the curly underline. ReSharper uses to highlight errors or warnings.

How do you know the team name for this (except for the educated guess)?

+3
visual-studio-2008 visual-studio resharper
Sep 16 '10 at 8:36
source share
2 answers

I am doing this to perform an action while recording a macro (using the temporary “Tools” / “Macro / Recording” macros).

When I finished the action, I look at the source code of the macro, and usually it helps to find the right command.

For example, I just let R # add magic via Alt-Enter, and the macro recorder:

DTE.ExecuteCommand("ReSharper_QuickFix") 
+4
Sep 16 '10 at 11:58
source share

You can restore all ReSharper shortcuts using the ReSharper → Options → Visual Studio Integration page. Select a keyboard layout and click Apply Pattern.

+2
Sep 16 '10 at 8:55
source share



All Articles