Resharper Ctrl-T mapping lost

C#.NetVisual StudioKeyboard

C# Problem Overview


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

https://stackoverflow.com/questions/16364059/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?

C# Solutions


Solution 1 - C#

  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")

Solution 2 - C#

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.

Solution 3 - C#

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.

Solution 4 - C#

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

Solution 5 - C#

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

Solution 6 - C#

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSpikeeView Question on Stackoverflow
Solution 1 - C#Alexander KurakinView Answer on Stackoverflow
Solution 2 - C#Sam BauwensView Answer on Stackoverflow
Solution 3 - C#JTvermoseView Answer on Stackoverflow
Solution 4 - C#MemeDeveloperView Answer on Stackoverflow
Solution 5 - C#Alessandro RView Answer on Stackoverflow
Solution 6 - C#Michal KandelView Answer on Stackoverflow