Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems list still show errors of undefined for getters or setters #13

Closed
menfukurou opened this issue Nov 22, 2018 · 7 comments
Closed

Comments

@menfukurou
Copy link

lombok is working correctly when running application but problems list still show errors of undefined setters or getters.
they wont be refreshed automatically.
After clicked the messages of errors manually, the messages disappear.

@menfukurou
Copy link
Author

after clean off my project, made new project again and loaded on vscode, all of things well done.
thanks.

@jcjolley
Copy link

jcjolley commented Dec 10, 2018

Despite restarting vscode, running mvn clean and mvn install, and repeating this process several times, I am still getting "The method get<FIELDNAME>() is undefined for the type <CLASS>" on all of my classes annotated with lombok.Data

@GabrielBB Any guidance?
@maknowledge Possibly re-open?

Hopefully helpful context:
image

Name: Lombok Annotations Support for VS Code
Id: gabrielbb.vscode-lombok
Description: A lightweight extension to support Lombok annotations processing in Visual Studio Code
Version: 0.9.6
Publisher: Gabriel Basilio Brito
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=gabrielbb.vscode-lombok

@GabrielBB
Copy link
Contributor

@jcjolley Is your project on some git repo that I can check out and test or is a private project ?

@jcjolley
Copy link

Sadly, it's a work project. Tomorrow I can try to get a public repro project together for you (or just prove that it works, one of the two :D)

@unguiculus
Copy link

I'm having the same problem. I get hundreds of errors which only disappear when the affected files are opened. It's a Spring Boot Maven project. This is the list of Java-related extensions I use:

GabrielBB.vscode-lombok
k--kato.intellij-idea-keybindings
Pivotal.vscode-spring-boot
redhat.java
redhat.vscode-xml
redhat.vscode-yaml
vscjava.vscode-java-debug
vscjava.vscode-java-dependency
vscjava.vscode-java-pack
vscjava.vscode-java-test
vscjava.vscode-maven
vscjava.vscode-spring-boot-dashboard

@GabrielBB
Copy link
Contributor

There is an open issue to the VSCode Java Extension with this same problem: False positives problems (when using Lombok). I will reference this issue there so they know that this problem is still happening

@rikoe
Copy link

rikoe commented Apr 8, 2019

Related to this issue: redhat-developer/vscode-java#580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants