-
Notifications
You must be signed in to change notification settings - Fork 49
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
[IntelliJ] Add note on Imports #954
Comments
I'm experiencing similar issues... I'm curious whether the IntelliJ IDEA plugin could additionally optimize imports while reformatting code now? |
Any updates on this? Would be nice to not only format the code, but imports too, if IDEA supports this itself |
This is a nasty one. Seems like Intellij is going above and beyond the call of duty and trying to reformat on optimize imports: |
This is not helping me; first palantir reformats, then the imports are re-ordered, and spotless complains that the formatting is not correct. |
I don't get the comment. On #954 (comment) it is said that "Optimize imports" is off. At your side, it is off, too, but there is still a change by IntelliJ? @mindhaq Could you double check our "Optimize imports" setting? |
What happened?
I have activated palantir java format:
This does not change the code style configured in the IDE:
When executing "optimize imports", the configured style is followed.
import
statementsWhat did you want to happen?
When executing "optimize imports", the palantir-style is followed
General wishes:
The text was updated successfully, but these errors were encountered: