ReSharper key bindings problem

2020-05-12 12:04发布

I use: Visual Studio 2010 Ultimate, Resharer 6.

In ReSharper's options i choose Visual Studio keyboard sheme and click Apply Sheme:

After that some shortcuts are not assigned, such as: Go to Declaration, Go to implementation, Find Usages, Complete symbol, etc:

enter image description here

Try

  • Tools -> Options, Environment -> Keyboard -> Reset
  • Import and Export Settings, re-import C# developer settings
  • devenv /reset

Nothing helped.

Configure shortcuts manually is not desirable. Help, please.

9条回答
走好不送
2楼-- · 2020-05-12 12:34

After wrestling with this for half a day and trying all of the options above, I finally found the magic setting that fixed MY problems: I UNSELECTED "Hide overriden Visual Studio Items" in Options/Keyboard and Menus"

查看更多
叼着烟拽天下
3楼-- · 2020-05-12 12:35

Taken from the documentation on Configuring Keyboard Shortcuts:

To switch between two available keyboard schemes or restore the default state of your currently selected scheme

  1. On the main menu, choose ReSharper | Options.
  2. Select Environment | Visual Studio Integration.
  3. In the Visual Studio Integration tab, select Visual Studio, ReSharper 2.x or IntelliJ IDEA, or None, and click Apply Scheme. If you selected None, you can define an arbitrary set of custom keyboard shortcuts in Visual Studio's native Options menu (Tools | Options | Environment | Keyboard) - see To configure keyboard shortcuts above.

Also, here's some documentation on how to resolve keyboard shortcut conflicts with Resharper

查看更多
相关推荐>>
4楼-- · 2020-05-12 12:36

I know this is a little old, but I just thought I'd share my epiphany... It seems that with Resharper 7x and VS2010 (probably anything later too), is best set when you op for the selecting the "Text Editor" as the settings to update under Options->KeyBoard. So, what I would recommend if you like some of Resharper features, use this site to get the shortcuts Resharper Shortcuts

Then set them accordingly with Text Editor selected as the settings to update. Global does NOT seem to work consistently.

FYI- Text Editor works for C#, CSS and javascript. Not sure about other languages within VS.

查看更多
登录 后发表回答