Skip to content

enhancement - add library info in "show definition preview hover" #3872

Closed
eclipse-jdtls/eclipse.jdt.ls
#3678

Description

@mamilic

It would be convinient if library information could be shown on tooltip of a class or method, if ti comes form extenral library, such as JDK classes or some other dependencies. Example of how intellij utilized this. At the bottom of the tooltip there is lib artifactId, groupId and version, as well as jar name. Would it possible to add something simillar to the VSCode?

Image

Activity

  1. fbricon commented on Jan 23, 2026

    @fbricon
    Collaborator
    add-library-info-on-hover2.mp4

    I didn't go with adding the jar maven GAV since there's no reliable way to get it from Gradle/Other build tools. I figured the jar name was good enough for most cases.

  2. added this to the End January 2026 milestone on Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions