Search code examples
intellij-ideaidesettingsrider

IntelliJ IDE (Rider, Android Studio...) - how to hide "usage" links above properties/methods/etc


IntelliJ Rider IDE version 2022.1:
Above class properties or methods I have this link called "usages".

How do I turn the "usages"-link off?

They are driving me crazy. I don't know what these things are called, so googling didn't give me any results. I glanced through myriad of settings in the IntelliJ Settings window - also no idea.

screenshot with usage links


Solution

  • You can hide all metrics by disabling "Code Vision" (CTRL+SHIFT+A + code vision for a quick access in the settings).

    You can also hide specific metrics by right clicking on it.

    enter image description here

    It is also possible to toggle the hints globally with the action Toggle Inlay Hints Globally (accessible with CTRL+SHIT+A + Toggle Inlay)

    enter image description here

    You can also assign a shortcut to this action.