Unable to rename in editor

Anonymous
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 | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AgaveJoe 30,491 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,596 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.