Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lombok-related errors on Visual Studio Code with the extension installed

I have decided I had enough of Eclipse's slowness and just moved everything to VSCode. I installed the java extension package as well as the Lombok extension.

My project worked perfectly fine in Eclipse and, although it does run fine, VSCode is finding thousands of errors obviously related to not finding the getter/setter methods that Lombok generates. My solution consists of two projects that both depend on a class library (the third project) which has a dependency for Lombok registered.

How can I get rid of these errors / make Lombok work properly in VSCode?

like image 255
Martin Avatar asked Apr 01 '19 15:04

Martin


1 Answers

Seems like my issue was loading the 3 projects into my workspace before installing the Lombok plugin. I have removed the projects from my workspace and opened them again and the errors are gone.

like image 193
Martin Avatar answered Sep 29 '22 15:09

Martin