1 Reply Latest reply on Jul 27, 2006 10:45 AM by Rebecca_Hyatt_-Adobe

    auto created import statements

      I create a var of some type and the builder adds the import statement and then if I change the type later on it adds another import statement, is there a way to cleanup the unused import statements?


        • 1. Re: auto created import statements
          Rebecca_Hyatt_-Adobe Level 1
          Sadly, no.

          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 problem directly.

          I'll make sure there's an enhancement request filed for this.

          Rebecca Hyatt