Resharper 8 - Quickfix shortcut Alt+Enter gone
Asked Answered
S

4

57

In Visual Studio 2012/2013, I want to reassign the Alt+Enter ↵ key combination to the "Quickfix" (triggering the menu from the light bulb) because it is not working anymore. I can't. I have tried the following (I am aware that some of the suggestions refer to VS 2010 and older R# versions):

I have not yet had the nerve to re-install R# or even VS.

How can I get a standard set of R# keyboard shortcuts into Visual Studio? I'd gladly wipe out everything that is there just to get back my Alt+Enter Quickfix..

Smatter answered 29/8, 2013 at 15:8 Comment(4)
The R# Options | Keyboard & Menus page has a Note at the bottom, have you tried what it says there?Enthetic
@AakashM: Yes I did. Didn't help.Smatter
Have you found a solution? I have the same problem right now...Alta
@Offler: No, unfortunately not. I'd post it here if I found one - please do the same.Smatter
M
127

Please try this:

  • remove all mapping for Alt+Enter ↵ shortcut here Tools | Options | Environment | Keyboard (to find out mapped actions, press Alt+Enter ↵ in "Press shortcut keys" field and look at the list in "Shortcut currently used by" dropdown);

After removing:

  • Type ReSharper_AltEnter in "Show command containing" field;
  • Select "Text Editor" in "Use new shortcut in" dropdown;
  • Press Alt+Enter in "Press shortcut keys" field | Assign;
  • Select "XAML UI Designer" in "Use new shortcut in" dropdown;
  • Press Alt+Enter in "Press shortcut keys" field | Assign;
Mcmahan answered 25/9, 2013 at 12:52 Comment(1)
Totally works. Why ReSharper renamed Reshraper_QuickFix (what it is) to Resharper_AltEnter (the default shortcut) is completely beyond my understanding.Ruano
D
7

They changed the name of this shortcut to Resharper_AltEnter.

Doolie answered 1/9, 2013 at 16:24 Comment(1)
As stated in the question, I have found and tried this, but it didn't work.Smatter
S
1

I had the same problem. I'd upgraded to VS Professional 2013 (update 3) about a week ago. I then installed Resharper and was re-tooling a few projects with Resharper for a few days. All was going well, then things went haywire. I tried all the suggestions in this post and elsewhere. This included un-installing and re-installing resharper. Un-installing and re-installing VS. Nothing seemed to be fixing it

Until at some point I tried what turned out to be the fix: uninstalling a couple of the R# extensions: Resharper.ExternalAnnotations, Nuget Support for Resharper and Resharper Razor Plugin.

Not sure which was causing the issue. But things seem to be working normally now.

I also went further and installed the latest ReSharper 8.2.3 - https://www.jetbrains.com/resharper/download/

Things are still ok [crossing fingers].

I have NOT installed any R# extensions. I will try to figure out which was the offending extension after I have had a few days of rest for this issue. So, in retrospect, it seems this problem started after I installed some offending R# extension.

Sparteine answered 30/10, 2014 at 17:18 Comment(0)
F
0

https://www.jetbrains.com/help/resharper/Code_Analysis__Quick-Fixes.html

Merge Visual Studio Light Bulb actions into ReSharper bulb - set checkbox in R# settings

Follicle answered 21/6, 2019 at 9:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.