开发者

Quick question on Flex/Action Script - Excessive imports

开发者 https://www.devze.com 2022-12-13 09:12 出处:网络
I play around a lot when I\'m programming in FLEX, mostly cause I\'m new and I don\'t know the best way to do things. Consequently I end up importing a lot of things. I end up throwing out the code an

I play around a lot when I'm programming in FLEX, mostly cause I'm new and I don't know the best way to do things. Consequently I end up importing a lot of things. I end up throwing out the code and realize later that the imported开发者_JS百科 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 being used?

Thanks,

~Mike


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


If you're using Flex Builder, you can go to Source -> Organize Imports and it will remove anything you don't need.

0

精彩评论

暂无评论...
验证码 换一张
取 消