Flex / Action Script Quick Question - Excessive Import

I play a lot when I program in FLEX, mainly because I'm new and I don’t know what is the best way to do this. Therefore, I end up importing a lot of things. I end up throwing away the code and realize that the imported class is still at the top of my script. Now I have a ton of them. Is there a quick and easy way to see which ones are still in use?

Thanks,

~ Mike

+3
source share
2 answers

ctrl + shift + o will clear all unnecessary imports (in eclipse)

+8
source

If you use Flex Builder, you can go to Source -> Organize Imports and delete everything that you do not need.

+1

Source: https://habr.com/ru/post/1725077/


All Articles