Search code examples
intellij-idearider

IntelliJ Rider always has two of the same target when I Go To Declaration/Implementation


When I Ctrl+Click a method or class in IntelliJ Rider, I'd expect it to go that class/method. However, instead it brings up a "Select Target" dialog which always has two copies of the same class in it. Choosing between two of the same class is a pretty dumb step - does anyone know how to get rid of the second copy of the class so I can just go straight to the class without having to choose?

Screenshot of the behavior below:

enter image description here


Solution

  • File -> Invalidate Caches... -> Uncheck optional checkboxes -> Invalidate and Restart

    Invalidating only ReSharper caches and restarting helped me for Rider 2021.3.3.

    enter image description here