ReSharper key bindings problem

点点圈 提交于 2019-12-02 15:02:30

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.

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!

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

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"

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

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"

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.

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!