There are a couple of different ways we might do this in
future. If we are able to get to an "organize imports" feature in
the next release, we could attempt to identify and remove obsolute
imports in addition to putting the imports in order.
Alternatively, if we can talk the compiler team into adding a
compiler warning for unused imports (which I don't believe it does
this currently), then we could make a quick fix that targets the
I'll make sure there's an enhancement request filed for this.