-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Eclipse removes "import lombok.var;" on Organize imports #1783
Comments
What is your Java version? Hopefully this is not an issue for Java >= 10. But for Java 6-9, pretty much it is. |
Java 8 (jre1.8.0_172) |
reproduced, with:
|
NB: You don't need save actions for this, just hit the 'organize imports' shortcut key and the import poofs out of existence. |
rzwitserloot
added a commit
that referenced
this issue
Jul 25, 2018
… be removed by eclipse’s organize imports.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Eclipse, the action "Source / Organize Imports" removes
import lombok.var;
, leading to compile errors whenvar
is used. The "Do not create imports for types starting with a lowercase letter" parameter of the "Organize imports" settings has no effect on the problem. This problem occurs also indirectly when Organize Imports is used in Save Actions.Seen with Eclipse Photon (4.8.0) and Lombok 1.18.0. If I remember well, this problem existed with the previous version of Eclispe.
Code used for tests :
The text was updated successfully, but these errors were encountered: