Unable to rename in editor

ColtWalker 1 Reputation point
2021-09-16T15:00:10.78+00:00

I cannot refactor-rename any variable/class name/anything in VS or Rider, either via hotkeys or from the context menu. I've already tried reinstalling both editors but the problem remains. Any ideas on how to resolve this?

Developer technologies Visual Studio Other
Developer technologies C#
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AgaveJoe 30,126 Reputation points
    2021-09-16T15:31:28.323+00:00

    In Visual Studio use the editor and the keyboard to overwrite the class or variable name. A Quick Action lightbulb will popup where you can rename all the instances of the name. Contact JetBrains support for assistance with Rider.

    132688-screenshot.jpg


  2. Karen Payne MVP 35,586 Reputation points Volunteer Moderator
    2021-09-16T16:05:14.763+00:00

    In Rider, when I rename a variable the pyramid symbol presents itself as per below allowing the var to be renamed with a stock install of Rider.

    132738-rider.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.