You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add 'Go to Definition' Support for JDK and External Dependency. #23
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:
Open a Java project in Zed with the JDTLS enabled.
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.
Reacted by owpk, xpncvr, Albin Hasani, Assah Bismark, prashanth057 and Miroslav Kovalenko
Unfortunately, this is not currently possible in Zed. Eclipse JDT Language Server, the language server that this Zed extension uses, implements various features while taking advantage of LSP1 extensions, which are additions to standard LSP, and this is one of those features. Zed extensions do not implement LSP themselves, Zed itself does that, and Zed itself only implements (as far as I'm aware) standard LSP.
So, in its current form and with Zed's current capabilities, this is unfortunately not possible, although I do hope that it is possible eventually. I talked more about this in #20.
Activity
valentinegb commentedon Nov 23, 2024
Unfortunately, this is not currently possible in Zed. Eclipse JDT Language Server, the language server that this Zed extension uses, implements various features while taking advantage of LSP1 extensions, which are additions to standard LSP, and this is one of those features. Zed extensions do not implement LSP themselves, Zed itself does that, and Zed itself only implements (as far as I'm aware) standard LSP.
So, in its current form and with Zed's current capabilities, this is unfortunately not possible, although I do hope that it is possible eventually. I talked more about this in #20.
Footnotes
Language Server Protocol ↩
valentinegb commentedon Nov 24, 2024
I opened an issue related to this for Zed, you should watch it: zed-industries/zed#21133
thrasos-dev commentedon Oct 7, 2025
This is the only missing feature preventing me from moving to Zed.