Refactor menu not available (greyed out)

Completed

I've been using the Refactor menu for months but suddenly it is not available anymore. Any hints?

7 comments
Comment actions Permalink

Hello Evidal,

Thank you for contacting us. 
Refactoring is context-dependent. 
1. Please send a full screenshot of the place where you are trying to apply the refactoring and where the cursor is at that moment.
2. Also, please check the shortcut Ctrl+Shift+R. Is it works for refactoring or not?
3. Do all other options work or is it just only refactoring option disabled? For example, do you see a ReSharper marker bar for a code file?

Please submit all this information in a request here https://resharper-support.jetbrains.com/ for further investigation.
Thank you.

 

0
Comment actions Permalink

Elena Kurakina

1. Refactor is disabled in every scenario right now. I've just created a template project with wrong indentation. All code is selected with Ctrl+A. In this case, the Refactor menu was always available, now it's not.


2. The shortcut Ctrl+Shift+R is not working anymore. Before it was always bringing the Refactoring menu too.

3. It is just the Refactoring option what is disabled, the rest of the options (or at least the ones I use) are ok. Marker bar is showing up too.


I am going to submit everything in a request. Thanks for your reply.

0
Comment actions Permalink

Same issue is happening to me since last week with:

Microsoft Visual Studio Professional 2022 (64-bit) - Current
Version 17.2.2

and 

JetBrains ReSharper 2021.3.2 Build 213.0.20211221.144419 built on 2021-12-21
dotCover 2021.3.20211222.101617
dotTrace 2021.3.20211222.101551

ReSharper 2021.3.20211222.101340
dotMemory 2021.3.20211222.101430

When I try to do a simple rename using Ctrl+R+R (Visual Studio shortcuts) I see little message saying Ctrl+R+R is bound to Resharper which is not available. I have tried all the usual trick s of clearing Resharper cache (including manaually delting folders in %localappdata%\jetbrains and my entire .vs folder).

Something is disabling Resharper.

0
Comment actions Permalink

Hello!

Evidal I've just answered you in our support system. Thanks.

Dhammika Gunasekara Ratnayaka Mudiyanselage
Michael Turley

Please could you run Visual Studio with the following command line:

devenv /ReSharper.LogFile C:\log\resharper_log.txt /ReSharper.LogLevel Verbose

After that reproduce the issue and send me the corresponding resharper_log.txt file via our support system https://resharper-support.jetbrains.com/ for further investigation.


Thank you.

0
Comment actions Permalink

Thanks, I have opened Refactoring tools unavailable : RSRP-488913 (jetbrains.com) with the log files as requested. Appreciate the quick reply.

1

Please sign in to leave a comment.