Search code examples
javaintellij-ideaidesettings

Removal of "usages"-links in IntelliJ


While changing PCs I downloaded the latest version of IntelliJ (2022.1.2 Build #IU-221.5787.30) and I can now see "usages"-links for all fields, methods and such in my code.

It does seem to work as it is supposed to, but I find that it takes up too much space.
How can I turn the "usages"-links off?

Picture of usage links on class and fields


Solution

  • Uncheck the appropriate checkbox in settings: Preferences | Editor | Inlay Hints > Code Vision > Usages:

    IntelliJ IDEA settings