Keyboard shortcuts are not active in Visual Studio with Resharper installed

C#Visual StudioResharper

C# Problem Overview


I have Visual Studio 2012 + Resharper 7.1.1000.900 + StyleCop 4.7.44 installed.

The problem is that no shortcuts are active since Resharper was installed.

For example: I can rename via 'Refactor > Rename'. But shorcut Ctrl+R does nothing.

I've set Resharper keyboard scheme to 'Visual Studio' in 'Resharper > Options > Environment > Keyboard & Menus'

Is there any way to activate shortcuts? Thanks.

C# Solutions


Solution 1 - C#

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.

I had to do something similar once.

Solution 2 - C#

This worked for me.

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

and then

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

Solution 3 - C#

I had the same problem and reset didn't fix it. Then the resharper support helped me. Solution was very simple! I'm from Russia and usually my default keyboard is Russian. In control panel | language settings | change keyboard - I changed default keyboard to English. Then reapply settings in VS: Resharper|Options|Keyboard&Menus - apply R# scheme. And the problem was fixed :)

Solution 4 - C#

I had a very difficult time getting this working one under VS2015 one day. After the initial install everything was working, but I come in this morning and my keyboard shortcuts don't work. Going through Resharper's Environment > Keyboard & Menus didn't work; reinstalling Resharper didn't work. Even deleting every configuration from Resharper's AppData folder didn't work.

So what did work? Going to Visual Studio's Tools > Options > Environment > Keyboard and clicking Reset. After I did that, then Resharper's schemes would take.

Solution 5 - C#

Alternatively - make sure that Resharper is enabled. My visual studio didn't update my Resharper license information, so when opening the resharper menu (after trying to figure out why my shortcuts stopped working!), the was a menu item "Why is Resharper disabled?" Clicking on the menu item opens up a dialog, which then automatically resolved the license. The next question for Jetbrains is why do I have to open the dialog for the thing to automatically renew??

Solution 6 - C#

Without resetting Visual Studio settings :

I found simply

  • ReSharper > Options > Keyboards
  • Apply Scheme button
  • Save button

Brought back my lost ReSharper keyboard commands without messing with my VS settings.

(Visual Studio Community 2017 + ReSharper Ultimate)

Solution 7 - C#

This one worked for me

RESHARPER > OPTIONS > select visual studio (Under Keyboard Shortcuts)

VS + Resharper

Solution 8 - C#

You can look at the Visual Studio Integration options for ReSharper by...

  1. Select ReSharper > Options... from the Visual Studio menu
  2. Select the Visual Studio Integration item on the Options window

The bottom of the page gives instructions on how to reset the keyboard scheme.

If that doesn't work, I would re-install ReSharper.

Solution 9 - C#

I had the same problem with Visual Studio 2015 and Resharper 9.2

"Resharper 9 keyboard shortcuts not working in Visual Studio 2015"

I had tried all possible resetting and applying keyboard schemes and found the answer from Yuri Fedoseev.

My Windows 10 language configuration only had Swedish in the language preferences "Control Panel\Clock, Language, and Region\Language"

The solution was to add English(I chose the US version) in the language list. And then go to Resharper > Options > Keyboard & Menus > Apply Scheme. (perhaps you do not even need to apply the scheme)

Solution 10 - C#

Try this steps:

  1. Resharper > Options > Keyboard & Menus

Then point choose:

  • Hide overridden Visual Studio menu items (Check)
  • Visual Studio (Check)

Then click on Apply Scheme and Save.

  1. Tools > Options > Environment > Keyboard
  • Click Reset
  • Click Ok

Solution 11 - C#

Just a comment on this issue. After I installed Visual Studio 2015 RTM all my resharper shortcuts were gone. (I had them working just fine with RC) A few of my colleagues were having the exact same issue with Visual Studio 2012.

I tried all the suggestions in here but none worked. The way I found to solve this was to: go to Tools -> Import and Export Settings , select the "Import selected environment settings" and in my case use the Settings I had from my RC installation (you can see that there are files with parts of a date as the filename like: CurrentSettings-2014-09-22). For my colleagues problem I basically sent them my .vssettings that I had that was working on my local VS2012 installation.

This effectively solved the shortcut problem. Further investigation in my case showed that although I applied the Resharper shortcuts they were never bound to the actual shortcut key thats why resetting stuff never worked.

Solution 12 - C#

  1. Reset or apply the scheme
  2. Save
  3. Restart Visual Studio

Solution 13 - C#

For me the issue was in Resharper License. It has been delinked from my account for some reason and it said that the license is invalid. When I linked it again to my JetBrains account it started to work properly after a few minutes.

Solution 14 - C#

I got it working again by going into VS 2015 Options-> Keyboard, then hitting Reset. Then go back to resharper keyboard options and selecting the ReSharper scheme and hitting apply.

Solution 15 - C#

I have faced same problem. I followed the approved answer. I have done but it was not working, because my keyboard format was different. It was in Bengali keyboard. But later I have changed my keyboard layout and tried in this way.

Resharper > Options > Keyboard & Menus > Apply scheme > Save.

Then it was working fine. But whenever I change my keyboard English-US to Bengali then it changes again and I need to do reconfigure.

Solution 16 - C#

In Visual Studio: Tools -> Options -> Environment -> Keyboard -> Reset

Solution 17 - C#

Note for NVidia users: GeForce Experience silently overrides some hotkeys (for example Alt+F7) and ReSharper stops to handle them. So you need to disable or remap nvidia hotkeys first.

Solution 18 - C#

Updated Answer:

If the left corner shows it is a "Miscellaneous Files" on Visual Studio, you will want to make sure the current file is included in the project or not first, otherwise, ReSharper has no way to figure out the shortcut or even work. Visual Studio sometimes will not include the files in csproj

enter image description here

Solution 19 - C#

The only thing I could find said first try and do a VS-Repair. If that doesn't work then do this.

> Restart Windows and in safe mode, run devenv /safemode in Visual > Studio 2005 Command Prompt. If in safe mode this issue disappeared, > the cause should be third-party applications, services or Visual > Studio Add-ins. Please also try devenv /resetsettings or devenv > /setup in Command Prompt. > > http://support.microsoft.com/kb/907965

http://forums.asp.net/t/1103223.aspx/1

Solution 20 - C#

I have tried many of the above issues and still had installation problems.

It turns out that downloading the full version (not the web installer), and running it as administrator finally got the latest version installed with no errors in VS 2015.

Solution 21 - C#

First you need to reset VS setting (tools > option > Export Settings > Reset all settings) and click Resharper button(Option > Environment > Keyboard&Menu > Keyboard shortcuts) select item you want to use and apply scheme.

It's work for me on visual studio 2012.

Solution 22 - C#

I had to delete the

C:\Users{username}\AppData\Local\JetBrains folder. Then is was able to enable the shorcuts again.

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
QuestionJuliaView Question on Stackoverflow
Solution 1 - C#Nick SpreitzerView Answer on Stackoverflow
Solution 2 - C#ND72View Answer on Stackoverflow
Solution 3 - C#Yuri FedoseevView Answer on Stackoverflow
Solution 4 - C#Adam SkinnerView Answer on Stackoverflow
Solution 5 - C#InquisitorJaxView Answer on Stackoverflow
Solution 6 - C#MemeDeveloperView Answer on Stackoverflow
Solution 7 - C#LawrenceView Answer on Stackoverflow
Solution 8 - C#John LaffoonView Answer on Stackoverflow
Solution 9 - C#JimiSwedenView Answer on Stackoverflow
Solution 10 - C#sdasdasdasdView Answer on Stackoverflow
Solution 11 - C#rjsoView Answer on Stackoverflow
Solution 12 - C#Martin MightyMart LauzonView Answer on Stackoverflow
Solution 13 - C#Ivan YurchenkoView Answer on Stackoverflow
Solution 14 - C#RasmusView Answer on Stackoverflow
Solution 15 - C#gdmanandamohonView Answer on Stackoverflow
Solution 16 - C#Duc NguyenView Answer on Stackoverflow
Solution 17 - C#Dmitry SazonovView Answer on Stackoverflow
Solution 18 - C#EvilDuckView Answer on Stackoverflow
Solution 19 - C#Anthony RussellView Answer on Stackoverflow
Solution 20 - C#jimfromthegym - Jim MackinView Answer on Stackoverflow
Solution 21 - C#ShihchaoView Answer on Stackoverflow
Solution 22 - C#Michael Vejlegård KristensenView Answer on Stackoverflow