We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Lombok support is manually set to "t" in customize but jdtls does not start with the Lombok support args.
customize
To Reproduce open a project that uses Lombok with lsp-java ps aux | grep -i lombok | grep -v grep returns 0 results
ps aux | grep -i lombok | grep -v grep
Expected behavior Lombok support is loaded and recognizes annotations.
The text was updated successfully, but these errors were encountered:
Lombok is not working for me either.
Sorry, something went wrong.
What's working for me was to add Lombok as a javaagent to the JVM args like this
javaagent
(use-package lsp-java :hook (java-mode . lsp-deferred) :init (setq lsp-java-vmargs (list "-Xmx1G" "-XX:+UseG1GC" "-XX:+UseStringDeduplication" "-javaagent:/path/to/home/.m2/repository/org/projectlombok/lombok/1.18.22/lombok-1.18.22.jar")))
Be sure to adapt the path to where your local Maven repo is and the version you have.
No branches or pull requests
Describe the bug
Lombok support is manually set to "t" in
customize
but jdtls does not start with the Lombok support args.To Reproduce
open a project that uses Lombok with lsp-java
ps aux | grep -i lombok | grep -v grep
returns 0 resultsExpected behavior
Lombok support is loaded and recognizes annotations.
The text was updated successfully, but these errors were encountered: