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

Lombok syntax not taken into account by intellij errors #1125

Open
ghost opened this issue Apr 8, 2022 · 1 comment
Open

Lombok syntax not taken into account by intellij errors #1125

ghost opened this issue Apr 8, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 8, 2022

Short description

Lombok doesn't remove the error entries from the compiler created by lombok features, as seen in the image below:
https://imgur.com/a/OO1KExY

This doesn't prevent compiling by itself, but when there are actual compile errors (For example when you are doing alot of code refactoring/rewriting) it is a nightmare figuring out which ones are lombok and which are syntax errors etc.

If you could fix this I would be so grateful, my life would be so much easier, thanks!

Expected behavior

lombok-created syntax errors should not appear in the error log

Version information

  • IDEA Version: 2021.3.3 (latest as of writing)
  • JDK Version: 17
  • OS Type & Version: Windows 10 64 Bit
  • Lombok Plugin Version: 213.7172.25 (latest as of writing)
  • Lombok Dependency Version: 1.18.22 (latest as of writing)

Steps to reproduce

What steps do we need to take to reproduce this issue?

  1. Create lombok class with getter/setters
  2. reference the getter of said class
  3. have a real syntax error
  4. syntax error appears in logs but also the getters appear as invalid
@sebasira
Copy link

Could this be a duplicate of #1130 or viceversa? This only happens to me in Anroid Studio, no in IntelliJ

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

1 participant