Project Lombok
See original GitHub issueCurrently there are errors because Project Lombok is generating code, but this is not detected.
I was able to use the lombok with w0rp/ale
by configuring the java executable path. It should also possible to set the param -cp
in coc-java
with java.jdt.ls.vmargs
when it isn’t overwritten.
https://github.com/w0rp/ale/issues/2242#issuecomment-478986885
For Vscode there is also: https://marketplace.visualstudio.com/items?itemName=GabrielBB.vscode-lombok
Issue Analytics
- State:
- Created 4 years ago
- Comments:11
Top Results From Across the Web
Project Lombok
Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java. Never write another getter...
Read more >Introduction to Project Lombok - Baeldung
A comprehensive and very practical introduction to many useful usecases of Project Lombok on standard Java code.
Read more >projectlombok/lombok: Very spicy additions to the ... - GitHub
Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java. Never write another getter...
Read more >Project Lombok: Clean, Concise Java Code - Oracle
Project Lombok is a mature library that reduces boilerplate code. The cases mentioned above cover just a few of those where Project Lombok...
Read more >Introduction to Project Lombok in Java and How to get started?
Project Lombok is a java library tool that is used to minimize/remove the boilerplate code and save the precious time of developers during ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@andys8’s solution enabled Lombok for me, but the normal JDT compilation started to fail. I was able to resolve this by removing the -Xbootclasspath flag, as described in this comment.
My
cos-settings.json
looks like this:Download Lombok Jar from https://projectlombok.org/download.
Okay, I figured it out. In case somebody has the same issue:
https://github.com/redhat-developer/vscode-java/wiki/Lombok-support describes configuration for vscode. It works the same way. It’s important to avoid “~” and use the absolute path! See https://github.com/neoclide/coc.nvim/issues/650
coc-settings.json