javagradlevisual-studio-codelombok

How do I get lombok to work with Visual Studio Code?


I have a java gradle project in vscode, and I followed the instructions on the site to use the gradle plugin and the vscode lombok extension. However, vscode is still unable to resolve the lombok.Data java import. What am I missing?


Solution

  • Turns out I had to run the following command in VS Code:

    > Java: Clean the Java language server workspace