This is both a feature and a bug :-)

The feature is remove unused imports. I have noticed it also remove 
some "used" imports from swc files sometimes, i.e. the bug.

You can disable it by choosing Window > Preferences > Flex > editors 
> ActionScript Code and then uncheck the "Remove unused imports when 
organizing" option (last option) in Flex Builder.

Cheers,
Luis

--- In [email protected], "wkolcz" <[EMAIL PROTECTED]> wrote:
>
> 
> 
>                               I like to start my AS files by 
adding all the import statement of all the items I know I am going 
to need. 
> 
> However, if I forget one and FB is nice enough to add it form me, 
it tends to delete a couple of mine (seemingly randomly, except for 
Alert...It hates that one).
> 
> Is this a 'feature'? Is it a bug? Can it be stopped. I appreciate 
adding ones on the fly for me, but my apps are striking errors since 
it deletes them for me.
>


Reply via email to