-
Notifications
You must be signed in to change notification settings - Fork 40
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
Could not find lombok.jar path #240
Comments
I also faced during my exam today after I updated without testing the update, but i'm still not sure if it's a jdt.ls issue or something else related to lombok as I can't build stuff with it even with maven. |
I've also faced this issue too.. |
Same problem. |
I didn't see the code in detail, but I can check that I copied lombok.jar to the path below and confirmed that it can be referenced in coc-java. $ ls ~/.config/coc/extensions/node_modules/coc-java/lombok/lombok.jar |
Lines 130 to 149 in 1470028
it seems that there is a new feature to find out the lombok class in the project class path, but something wrong. How could i write test for the feature or debug that? |
this should be work in my windows 11. The |
Confirmed move |
I had a look at the upstream vscode extension and found this little diddy: redhat-developer/vscode-java#2887 (comment) Following guidance from there, I set this up: {
"java.jdt.ls.lombokSupport.enabled": false,
"java.jdt.ls.vmargs": "-javaagent:${env:LOMBOK_JAR} -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable",
} I have proper lombok support now. Note that |
Problem : Could not find lombok.jar path
"coc-java" configuration
this should be work with
java.jdt.ls.vmargs: "-javaagent:/path/to/lombok.jar"
in earlier version. but now it looks like not load this option.Where should I put "lombok.jar" ?
The text was updated successfully, but these errors were encountered: