Refactoring Broken

I am new to Rider but used Visual Studio for years.  I am Refactoring a class name change.  When I opened the new branch I noticed some refactoring issues.  I will start with the first issue and hopefully find out where the error is so we can get the rest fixed.   After branching the project I noticed that the class name was no longer working.  I followed the steps for refactoring by going to File and Invalidate Caches.  I checked Clear file system and Local History and restarted.  When the project came back up nothing had changed except a few more refactoring issues.  After that I went to the next step and deleted the .idea folder which didn't work as well.  I don't know what to do next to get this fixed?  Do you have a series of steps I can follow?  After removing the .idea folder I noticed that the class name is broken and all of the using statements as well  

0
1 comment

Hi Anthony,

I noticed that the class name was no longer working

Can you attach screenshots to demonstrate the issue?

Other general things to try:

  • File | Invalidate Caches, only check the first three boxes
  • Temporarily disable ALL non-bundled plugins and restart the IDE: Settings | Plugins | ⚙ | Disable all downloaded plugins
  • Reset IDE settings to defaults (a backup will be created): File | Manage IDE Settings | Restore Default Settings
  • Re-create project configuration settings from scratch:
    1. Close the IDE, go to the project directory, backup and delete the entire .idea folder and any .iml files from its root
    2. In the IDE, go to File | New | Project from existing sources, select the project's source (root directory or main build file)
    3. Wait for indexing to finish

If it doesn't help, please provide your actual project for analysis. You can drop it to https://uploads.jetbrains.com (share the Upload ID here).

0

Please sign in to leave a comment.