When I was writing a Spring Boot application in VS Code, I felt that Lombok had abandoned my job.
Even if "@Data" is added to DTO or Entity, a compile error will occur with
getter,
setter`, and it will not appear in completion.
Not abandoned.
In order to use Lombok with VS Code, it seems that it is necessary to include extensions as well as Spring Boot dependencies.
Installing it will require you to restart VS Code. After rebooting and the build is complete, the compile error disappears.
And of course, it will be complemented.
Recommended Posts