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:13

This is a known issue that affects all ReSharper shortcuts that include F12 after switching from IntelliJ keymap to VS keymap. It's documented in this bug report that you're free to watch and vote for. As far as I'm aware, the only workaround would be to reassign the broken shortcuts manually through Tools > Options > Keyboard.

查看更多
ら.Afraid
3楼-- · 2020-05-12 12:13

The easiest way to solve this problem is :

Go to: ReSharper -> Manage Options -> Reset All Settings

These steps gonna solve your shortcuts (key bindings) issues.

You DO NOT have to constantly perform the following actions:

1) Go to Tools -> Options -> Environment -> Keyboard -> Press the (RESET) button

2) Go to ReSharper - > Options -> Keyboard & Menus -> Select the "Visual Studio" scheme -> Press "Apply Scheme"
查看更多
我想做一个坏孩纸
4楼-- · 2020-05-12 12:16

This one worked for me 100% after trying a bunch of other things:

  1. Go to Tools -> Options -> Environment -> Keyboard -> Press the (RESET) button
  2. Go to ReSharper - > Options -> Keyboard & Menus -> Select the "Visual Studio" scheme -> Press "Apply Scheme"
  3. Press "Save"
  4. Press "CTRL-T". Since this shortcut is mapped in both VS and Resharper, you will be presented with the "Shortcut Conflict"-window. Here you select "Use ReSharper (Ultimate) command" and make sure to check the box "Apply to all ReSharper (Ultimate) shortscuts".

Voila!

查看更多
Luminary・发光体
5楼-- · 2020-05-12 12:18

Doing "Reset All Settings" in VS Import&Export usually helps with restoring shortcuts. But it will, eh, reset all VS settings.

查看更多
闹够了就滚
6楼-- · 2020-05-12 12:22

Hpersw's solution works. in VS -> Tools -> Import & Export Settings -> Reset all settings and press finish. This should give you the shortcuts back

查看更多
祖国的老花朵
7楼-- · 2020-05-12 12:23

In VS go to Tools -> Options -> Environment -> Keyboard -> Apply the following keyboard mapping schema: [Default]

查看更多
登录 后发表回答