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
When the src.zip file is missing from the java home directory, textDocument/definition would yield no results for java standard library classes like java.time.LocalDate.
Running metals doctor commands shows you that everything is fine.
To Reproduce
Remove or rename src.zip
Start Metals
Try go to definition in java.time.LocalDate
Notice that nothing happens
Expected behavior
Metals doctor should show a warning with a possible fix like sudo apt-get install openjdk-8-source or equivalent.
Installation:
Operating system: Linux
Editor: Sublime
Metals version: 0.10.9+213-69c1200a-SNAPSHOT
Search terms
java home, goto definiton, doctor
The text was updated successfully, but these errors were encountered:
We would need to download the whole JDK and unpack from that. The other option is to ship our own JDK as a default, which would always have src.zip, but that would be a bit heavy.
Describe the bug
When the
src.zip
file is missing from the java home directory,textDocument/definition
would yield no results for java standard library classes likejava.time.LocalDate
.Running metals doctor commands shows you that everything is fine.
To Reproduce
src.zip
java.time.LocalDate
Expected behavior
Metals doctor should show a warning with a possible fix like
sudo apt-get install openjdk-8-source
or equivalent.Installation:
Search terms
java home, goto definiton, doctor
The text was updated successfully, but these errors were encountered: