Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReSharper key bindings problem

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.

like image 784
DeeRain Avatar asked Sep 10 '11 22:09

DeeRain


People also ask

How to reset ReSharper shortcuts?

Install ReSharper (or any other extension that massively re-maps keyboard shortcuts) Uninstall or disable the extension installed in #2. Go to Tools->Options->Keyboard, choose (Default) and click Reset. Click Yes.

How do I reset key bindings in Visual Studio?

Click File > Preferences > Keyboard Shortcuts. There is a triple-dot (...) at the top-right hand corner. Click on that and select "Show User Keybindings" Delete your listed keybindings.

How do I enable ReSharper shortcuts?

Keyboard Scheme You can switch between two default keyboard shortcut schemes or choose None to configure ReSharper shortcuts yourself, in Visual Studio options (Tools | Options | Environment | Keyboard). Click Apply to apply the selected scheme.


2 Answers

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!

like image 134
Per Mønsted Butschkow Avatar answered Sep 22 '22 20:09

Per Mønsted Butschkow


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.

like image 27
Jura Gorohovsky Avatar answered Sep 21 '22 20:09

Jura Gorohovsky