intellij-ideacodelens

CodeLens style in-context information in IntelliJ IDEA


For a while now, newer versions of Visual Studio have been able to display in-line information for methods, fields etc relating to how many times they may have been referenced or changed and who changed the code last. This feature is known as CodeLens.

Image showing CodeLens feature

Is there any plugin or feature in IntelliJ IDEA similar to this that would be able to display information on an individual class/field/method basis?


Solution

  • (22-Aug-2022 updated) The hints from git blame are also available in the latest IntelliJ IDEA. enter image description here

    ==================

    (For CodeLens function references feature) Now it's a built-in feature after version IntelliJ IDEA 2020.1.

    You can enable it from:

    Ref: https://blog.jetbrains.com/idea/2020/03/intellij-idea-2020-1-beta2/