Resharper 8 - Quickfix shortcut Alt+Enter gone

2019-01-30 06:16发布

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..

3条回答
叼着烟拽天下
2楼-- · 2019-01-30 06:42

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.

查看更多
虎瘦雄心在
3楼-- · 2019-01-30 06:46

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;
查看更多
走好不送
4楼-- · 2019-01-30 06:46

They changed the name of this shortcut to Resharper_AltEnter.

查看更多
登录 后发表回答