I have this issue now. My context is Windows 10 Enterprise Version 10.0.18362 Build 18362, Microsoft Visual Studio Enterprise 2019 Version 16.3.2, with Visual Studio JetBrains ReSharper Ultimate 2019.2.2 Build 192.0.20190828.114715 (ReSharper C++ 2019.2.20190828.152258, ReSharper 2019.2.20190828.152259).
Have tried the following without success:
- Deleting the contents under %AppData%\Local\JetBrains\Transient.
I just had this myself today, and was here looking for a solution when I solved it.
I had just renamed the solution, and every project within as part of a refactor, and had edited the properties of each Project to reflect my desired new namespace names.
I also had a connected service, which I had just reconfigured, in the namespace.
The problem was, I thought my next step would be Ctrl-R-R on the namespace itself, in the .cs file, but Refactor was disabled.
Manually editing the namespace in the .CS file re-enabled refactoring in R#.
Please note that the availability of the "Refactor" option depends on the location of the cursor. Perhaps the cursor is in the incorrect place, so Refactoring doesn't work. Does the option work in other cases, e.g. for class Program, method Main? Does the problem affect all files in the solution? Also, please provide a screenshot of the whole VS window including the vertical scrollbar where Refactor menu item is disabled.
Hi! I have almost the same issue. For me "Go To Action" is the only option not greyed out. It happens in all my solutions, also newly created ones. It does not work, no matter where my cursor is, or which file or window is open. Alt+Enter or Ctrl+R+R make a sound, but don't do anything. Ctrl+T just doesn't do anything. I'm running Resharper 2022.2.4 on Microsoft Visual Studio Enterprise 2022 (ARM 64-bit) Version 17.4.1
Hello!
Thank you for contacting us.
Could you please provide some screenshot illustrating the issue?
Thank you.
Thank you for the screenshot.
Though I should ask you for another one showing some code context for which the specified menu items are greyed out. It will be very helpful.
Could you please also check if the problem is reproduced in newly created console project for main method?
Thank you.
It works for a newly created console project
Thank you for the reply.
Please try:
1. clearing caches as described in the following help article - https://resharper-support.jetbrains.com/hc/en-us/articles/206546989-ReSharper-stopped-working-for-a-single-specific-solution
2. clearing .vs folder inside solution folder.
Thank you.
I have the exact same problem as the original poster, only the problem persists for all solutions, even new console apps.
I have tried rebooting, uninstalling R# and reinstalling (as admin), nothing works.
Thanks.
Hello Johnrs!
Could you please specify what ReSharper version you are using?
Also some screenshot demonstrating the problem will be helpful.
Thanks in advance.
Hello Angelina,
Thanks for your reply. I have solved the issue by running visual studio as an administrator.
I have this issue now. My context is Windows 10 Enterprise Version 10.0.18362 Build 18362, Microsoft Visual Studio Enterprise 2019 Version 16.3.2, with Visual Studio JetBrains ReSharper Ultimate 2019.2.2 Build 192.0.20190828.114715 (ReSharper C++ 2019.2.20190828.152258, ReSharper 2019.2.20190828.152259).
Have tried the following without success:
- Deleting the contents under %AppData%\Local\JetBrains\Transient.
- Deleting the .vs folder for my solution.
- Running Visual Studio as administrator.
Any help would be greatly appreciated, thanks.
Hello Tommy,
Could you please check if the issue is reproduced in a newly created solution or is it reproduced in some specific solution/project/file only?
Thank you
Hello Tommy,
I just had this myself today, and was here looking for a solution when I solved it.
I had just renamed the solution, and every project within as part of a refactor, and had edited the properties of each Project to reflect my desired new namespace names.
I also had a connected service, which I had just reconfigured, in the namespace.
The problem was, I thought my next step would be Ctrl-R-R on the namespace itself, in the .cs file, but Refactor was disabled.
Manually editing the namespace in the .CS file re-enabled refactoring in R#.
HTH.
Jeff Woods
Reading, PA
fwiw we ran in to this problem today. It turned out the developer had opened the projects as folders rather than via the solution file.
I have the same issue, the refactor option is grayed out
Hello,
Please note that the availability of the "Refactor" option depends on the location of the cursor. Perhaps the cursor is in the incorrect place, so Refactoring doesn't work. Does the option work in other cases, e.g. for class Program, method Main?
Does the problem affect all files in the solution?
Also, please provide a screenshot of the whole VS window including the vertical scrollbar where Refactor menu item is disabled.
Hi!
I have almost the same issue. For me "Go To Action" is the only option not greyed out. It happens in all my solutions, also newly created ones. It does not work, no matter where my cursor is, or which file or window is open.
Alt+Enter or Ctrl+R+R make a sound, but don't do anything. Ctrl+T just doesn't do anything.
I'm running Resharper 2022.2.4 on Microsoft Visual Studio Enterprise 2022 (ARM 64-bit) Version 17.4.1
I'm using Visual Studio Arm64 and updating to a EAP Version (2022.3 EAP9 build 2022.3.0.9) fixed my issue.
Thx to Angelina Elycheva for the help