Why would IntelliJ not organise Java imports even though the Auto Import options for Java are enabled?

Hi!

I'm trying to convince a colleague of mine how much nicer IntelliJ is compared to Eclipse. I finally got him to try it, and we set the Auto Import options to on (cf. attached screenshot).
Unfortunately, IntelliJ chooses to ignore these settings. There are unused iimports in a file, but the editor just doesn't remove the lines automatically.
We have to chose Code > Optimize Imports for it to work.

Any idea what I might be missing?
Is there maybe an optio "only touch lines you edited before"?
Might it be an issue with available memory? (The project is big, but the file itself has maybe 40 lines - mostly annotations for Junit and Cucumber.)

Kind regards,

Christian



Attachment(s):
AutoImportsIntelliJ.PNG
1 comment

Please sign in to leave a comment.