Relevance Confirmation
What happened?
When using Zed's Project Symbol Search in a Java project, symbols from the Java standard library and external dependencies are not included in the search results.
For example, searching for String, System, or Object returns no results. Classes from external libraries imported through Gradle dependencies are also missing.
However, symbols from files inside my own workspace are indexed correctly: features such as Go to Definition work as expected for JDK classes and external dependencies, indicating that JDTLS has access to the required classpath information.
This issue appears to be limited to Project Symbol Search and does not affect symbol resolution or navigation.
In comparison, when I'm in a C Project in Zed, this feature seems to be working fine, showing symbols from stdlib, stdio when searched.
What did you expect to happen?
I expected Project Symbol Search to include symbols from the Java standard library and external dependencies, similar to how it works in C projects or in Neovim with the same JDTLS setup.
For example, searching for String, Object, System, or classes from Gradle dependencies should return their declarations.
Environment
Zed:
Platform:
Java:
Relevance Confirmation
What happened?
When using Zed's Project Symbol Search in a Java project, symbols from the Java standard library and external dependencies are not included in the search results.
For example, searching for
String,System, orObjectreturns no results. Classes from external libraries imported through Gradle dependencies are also missing.However, symbols from files inside my own workspace are indexed correctly: features such as Go to Definition work as expected for JDK classes and external dependencies, indicating that JDTLS has access to the required classpath information.
This issue appears to be limited to Project Symbol Search and does not affect symbol resolution or navigation.
In comparison, when I'm in a C Project in Zed, this feature seems to be working fine, showing symbols from stdlib, stdio when searched.
What did you expect to happen?
I expected Project Symbol Search to include symbols from the Java standard library and external dependencies, similar to how it works in C projects or in Neovim with the same JDTLS setup.
For example, searching for
String,Object,System, or classes from Gradle dependencies should return their declarations.Environment
Zed:
Platform:
Java: