135
votes

I seem to have lost the Resharper Ctrl+T mapping to find classes quickly, I tried the solutions described here:

Keyboard shortcuts are not active in Visual Studio with Resharper installed

Specifically the accepted answer:

I would first try resetting all Visual Studio settings (Tools > Import and Export Settings > Reset all settings), then go to the Resharper > Options > Keyboard & Menus and re-apply the keyboard shortcut scheme.

And this:

Setting to Resharper / Options / KeyBoard & Menus / None / Apply and Save

and then

Resharper / Options / KeyBoard & Menus / Set to Visual Studio / Apply and Save

The latter doesn't do anything (no noticeable positive result), the former results in the following:

(Ctrl+T) was pressed. Waiting for second key of chord.

So it looks like VS is trying to handle the command, not Resharper.

Alt+Enter however works as expected, so it's not that Resharper is totally detached.

Any ideas on how to fix this?

6
What shortcut is mapped to ReSharper.ReSharper_GotoType in Tools | Options | Environment | Keyboard? By the way what R# version do you use: ReSharper | Help | About JB ReSharper Ultimate? - Alexander Kurakin
@Alexander: Resharper.Resharper_ResharperUnitTestDebugContext (Ctrl+T, Ctrl+D (Global)) and version 9.0. - Spikee
Looks like "ReSharper 2.x/IDEA" scheme is used instead of "Visual Studio" one. Please check which radio button is selected here ReSharper | Options | Environment | Keyboard & Menus. - Alexander Kurakin
@Alexander: Correct! If I switch to the Visual Studio radiobox, leave and use Ctrl+T, I get the Shortcut conflict window, what option should I chose then? - Spikee
By the way, just to avoid possible obstacles in the future, the best way is to reset all shortcuts in "Tools | Options | Environment | Keyboard" first. Then apply "Visual Studio" scheme in R# Options. - Alexander Kurakin

6 Answers

303
votes
  1. Reset current keyboard configuration (Tools | Options | Environment | Keyboard | Reset).
  2. Go to ReSharper | Options | Environment | Keyboard & Menus | "Visual Studio" | Apply Scheme.
  3. Click Ctrl+T
  4. Choose "Use ReSharper command" in the opened popup(check "Apply to all ReSharper shortcuts")
16
votes

For those of you (understandably IMO) not confortable with resetting all your keyboard settings for this specific shortcut :

  1. Go to VS Keyboard shortcut settings (Tools > Options > Environment > Keyboard),
  2. remove the Ctrl+T assignment from the Edit.GoToAll shortcut,
  3. assign Ctrl+T globally to ReSharper.ReSharper_GotoType.

Worked for me.

2
votes

I had this exact issue (Ctrl+T does not work, but other shortcuts does), but none of the solutions worked for me.

For my specific case, I had recently installed a VS extension (DevExpress) which apparently included another extension called CodeRush. Uninstalling CodeRush fixed my problem with Ctrl+T not working.

If you have a similar problem, and cant seem to fix it - check if you have other extensions/tools installed that might interfere with VS/ReSharper shortcuts.

1
votes

I noticed that in some cases it might be necessary to reset all settings of the IDE. This way I'm suggesting is the latest I would take, and before doing it, try the best answers provided before. However if you need to go hard, because CTRL+T is not mapped correctly, go to Tools / Imports and Export Settings / Reset all settings. Once done you can apply the ReSharper key configuration via Reshaper Options / Keyboard / Reshaper 2.x / Apply Scheme

1
votes

What actually helped me was the combination of all the tips mentioned before together:

  1. Reset all settings in: Tools / Imports and Export Settings / Reset all settings
  2. Applying Resharper keyboard scheme, and than applying visual studio scheme in: ReSharper / Options / Environment / Keyboard & Menus
  3. Only than popped up the shortcut conflict window, choose the ReSharper command
0
votes

Came back for me without resetting VS keyboard mappings (and loosing my shortcuts) by simply

  1. ReSharper | Options | Environment | Keyboard & Menus
  2. Selected Reshaper 2.x or IntelliJ IDEA
  3. Selected Visual Studio
  4. Apply Scheme
  5. Save