Lombok support
In order to enable Lombok support, you need to edit the java.jdt.ls.vmargs setting in VS Code preferences:
{
"java.jdt.ls.vmargs": "-javaagent:/path/to/lombok.jar"
}Paths containing spaces should be surrounded by (escaped) double quotes:
{
"java.jdt.ls.vmargs": "-javaagent:\"/spaced path/to/lombok.jar\""
}Old versions of Java might need an additional -Xbootclasspath/a:/path/to/lombok.jar flag.
The a: prefix in the Xbootclasspath flag is critical, make sure it's added.
Alternatively, there's a simpler method of enabling lombok support, via the Lombok Annotations Support for VS Code extension.
Known issues
- Lombok versions prior to 1.16.21 prevent the formatter to work properly. Using the lombok-edge (1.16.21) jar fixes this issue.
- Lombok is currently not fully compatible with Java 9 and 10

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
