Ever since I upgraded to IDEA 10.x the optimize imports "on the fly" feature isn't working for me. I found where to turn it on in Settings - IDE Settings - Editor - Auto Import, so that isn't the issue. Imports are added as classes are introduced into a file, but they aren't removed if the class is later removed. They grey out and get highlighted like warnings, but they used to be removed. Is anyone else having this issue? Is there some other setting that could conflict with the automatic removal that needs to be set? Thanks.