Closed ghost closed 9 years ago
+1 !
Thanks a lot for your contribution :D
Unfortunately, this feature doesn't quite work, if you include a whole module which has a lot of types but don't have a main type (or you don't mention it in your code), it removes the import.
Example:
MyModule.hx
class SomeOtherName {}
typedef OneMore = {}
Main.hx
import MyModule; // this import will be removed despite SomeOtherName being used.
class Main {
static function main() {
var s = new SomeOtherName();
}
}
Thanks. I'll try to fix that.
Sorts imports. Removes unused and unnecessary imports.