redhat-developer / eclipseide-jdtls

A language server client for Eclipse using JDT-LS
MIT License
11 stars 5 forks source link

"Find References" doesn't show the reference in .class files #99

Closed mickaelistria closed 1 year ago

mickaelistria commented 1 year ago

Let's make sure issue is not already fixed in snapshots first.

Steps to reproduce

From a fresh installation and clean workspace:

I tried

I expected: Several references in the JDK code

But got: nothing

Here is some relevant log output form (<workspace>/.metadata/.log)

The JDT communication log can show many entries with URIs of form jdt://contents/jdk.compiler/com.sun.tools.javac.api/JavacTrees.class. Those URIs don't seem to show in the result list.

Community

mickaelistria commented 1 year ago

Addressed in LSP4E: https://github.com/eclipse/lsp4e/pull/810