-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable javac-based compilation #3558
Conversation
5b55230
to
cb2d077
Compare
Daily vscode-javac builds are available from https://github.com/fbricon/vscode-java/releases/tag/javac-prototype |
340cd47
to
51ef99b
Compare
Signed-off-by: Fred Bricon <[email protected]>
I wanted to try Javac and DOM but I was getting the following error.
Is this feature available to try or do we need to wait for some future vscode-java releases with right eclipse JDT core? |
@viswatejan Could you attach a project example reproducing the error? |
@snjeza , I could not reproduce the same issue with a sample project but I see some other issues related to the autocompletion with the eclipse lombok agent. Delomboking and removing the Lombok dependency in my project loaded the project fine in the Java Project Explorer. |
Requires building eclipse.jdt.ls against dom-with-javac branch of the JDT fork
Requires running with Java 23 at the moment.
First build the server jars with:
then generate the vsix with:
Enable with
"java.jdt.ls.javac.enabled":"on"
in vscode settingsYou can enable the more experimental DOM-based completion with
"java.completion.engine": "dom"
: