Rider's refactor menu is not available

OS: macOS 12.4
Rider: 2022.2.2

Hello everyone.
I am having trouble with the refactor function in Rider.

However, when I point the cursor at a variable name and select 'Refactor' from the right-click context menu, it says 'Nothing here' and I cannot use the function.
Opening the menu Refactor and selecting Rename did not work.

What settings are needed to use the Refactor function?

Rider and Unity are connected and I can debug using breaks and such.

 

Here is a screenshot of the right-click context menu.

 

3 comments
Comment actions Permalink

Hello Ishii-kaju,

Thank you for contacting Rider support.
Is it just a regular executable code? Would you mind sharing a full-screen screenshot of Rider that demonstrates the issue?
Alse, we would appreciate it if you could share Rider logs as described above:

  • Clear everything from the `/Users⁩/⁨{User}/⁨Library/⁨Logs⁩/JetBrains/Rider{version}` folder;
  • Enable `Refactorings` trace scenario via `Help | Diagnostic Tools | Choose Trace Scenarios`;
  • Reproduce the issue;
  • Press `Help | Collect Logs`;
  • Disable the trace scenario you enabled;
  • Upload the archive generated to the Upload service and let me know the Upload ID.

Thank you in advance and have a nice day!

0
Comment actions Permalink

Hello Dmitry Kazantsev
Thank you for your prompt response.

> Is it just a regular executable code? Would you mind sharing a full-screen screenshot of Rider that demonstrates the issue?

The code is executable and can be debugged using breakpoints.
Here is a full screenshot of Rider that demonstrates the issue.

 

Uploaded log file, ID is as follows.
Upload id: 2022_09_14_VrgkoAGRE5QsYpB8Wvpq1r (file: rider-logs-20220914-10353017927236889194074383.zip)

0
Comment actions Permalink

Hello, what exactly are you trying to refactor? Why indexing is disabled on your project, I can see all files are with `no index` message. If you try run Find usages, does it work? 

0

Please sign in to leave a comment.