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
Default value of eglot-java-eclipse-jdt-ls-download-url is a snapshot download. If you are unlucky to install it a time when the latest snapshot is buggy, good luck understanding what's wrong when you are not familiar with eglot.
Potential solution
Switching from release snapshots to release milestones could mitigate this issue.
Sadly, it seems that there's no official Eclipse website API endpoint to retrieve available jdtls releases. (i.e., in comparison to let's say fetching GitHub releases for a given project).
Problem
Potential solution
Switching from release snapshots to release milestones could mitigate this issue.
Sadly, it seems that there's no official Eclipse website API endpoint to retrieve available
jdtls
releases. (i.e., in comparison to let's say fetching GitHub releases for a given project).Approach
One option is to leverage the Homebrew jdtls formula REST endpoint to retrieve the latest "known" stable version.
The property paths of interest are
.urls.stable.url
and.versions.stable
, per JSON response exceprt below.Toggle JSON response exceprt
Other considerations
We probably need to record the installed
jdtls
version ( in some form of metadata file??).Caveats
jdtls
version recorded in the Homebrew formula might not be the latest available release milestone.The text was updated successfully, but these errors were encountered: