Recently, Cursor has stopped recognizing code automatically generated by Lombok, such as @Data and @Slf4j.
I remember it used to work before, but somehow it’s not being recognized anymore.
I even tried downgrading the version, but it didn’t help. I also tested the same setup in VSCode with identical settings, and it works there—so I’m not sure why it’s failing in Cursor. It’s causing unnecessary linter errors in the IDE while the AI is responding, which is really frustrating.
I use the Redhat Java pack (not the new oracle extension) and for no apparent reason the wither methods from Lombok started showing up as error in Cursor a couple of days ago (the @With annotation).
I tried uninstalling and reinstalling everything and it doesn’t help