开发者

ReSharper key bindings problem

I use: Visual Studio 2010 Ultimate, Resharer 6.

In ReSharper's options i choose Visual Studio keyboard sheme and click App开发者_Go百科ly Sheme:

ReSharper key bindings problem

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

ReSharper key bindings problem

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.


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!


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.


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 keep performing 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜