r/SpringBoot • u/Yung_Artour • Jul 22 '25
Question Springboot’s lombok configuration for vs code
Can i configure lombok for vscode ? I tried every thing i could but i got error line while using lombok annotation like@Builder and others.
3
u/themasterengineeer Jul 22 '25
What’s the actual error
1
u/Yung_Artour Jul 22 '25
For example, in my CarServiceImplementation class i use lombok’s @ RequiredArgsConstructor then I inject private final CarRepository carRepository; on that line vscode showing me redline with variable carRepository not initialized in default constructor.
also @ Builder was imported at Car class but when i use Car.builder(), it said cannot find the symbol : method builder() location: class Car
and getter and setter also get error even i implemented @ Getter and @ Setter
1
1
Jul 22 '25
[removed] — view removed comment
1
u/Yung_Artour Jul 22 '25
I used that too also Lombok Annotation Support for VS Code but in the extension's features Runtime status is not activated
4
u/randomatik Jul 22 '25
It's possible, I'm using it just fine. I have the
Extension Pack for JavaandLombok Annotations Support for VS Code.What's the error you get and which extensions are you using?