Skip to content

Add 'Go to Definition' Support for JDK and External Dependency. #23

Description

@marques-gabriel

Hello,

I am currently testing the Zed editor with Java Projects using Maven. While the "Go to Definition" functionality works well for classes defined within my project, it does not work for classes from the JDK (e.g., System) or from external dependencies.

Steps to Reproduce:

  1. Open a Java project in Zed with the JDTLS enabled.
  2. Try to use "Go to Definition" on a JDK class (e.g., System) or a class/JAR from an external dependency.

Expected Behavior:
The editor should navigate to the definition of the class, whether it is part of the JDK or an external dependency.

Actual Behavior:
The editor does not navigate to the definition of JDK classes or classes/JAR from external dependencies.

It would be greatly appreciated if this functionality could be added to improve the development experience, for efficient navigation and understanding of the code, especially when working with complex projects that rely heavily on external libraries.

Thank you for your attention to this matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-serverRelated to the language server.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions