Skip to content
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

WIP: enable javac-based compilation #3558

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fbricon
Copy link
Collaborator

@fbricon fbricon commented Apr 3, 2024

Requires building eclipse.jdt.ls against dom-with-javac branch of the JDT fork
Requires running with Java 22 at the moment.

First build the server jars with:

npm run build-server

then generate the vsix with:

npx @vscode/vsce package

Enable with "java.jdt.ls.javac.enabled":"on" in vscode settings

So far, it's pretty useless, since lots of work still needs to be done on the javac branch. You'll mainly be able to see the javac-generated compilation errors.

Completion, when it works, is still delegated to ECJ.

@fbricon
Copy link
Collaborator Author

fbricon commented May 1, 2024

Daily vscode-javac builds are available from https://github.com/fbricon/vscode-java/releases/tag/javac-prototype

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant