Flash Builder keeps losing my imported classes…arghh

a 夏天 提交于 2019-12-11 17:43:29

问题


I've been having this really annoying thing happen the past few days, that has happened before but not as frequently. I create a project in Flash Builder, import some classes, and then on occasion it keeps erasing those classes. So then I get errors in a lot of my datatypes, have to go back through my document and retype the datatype so that it reimports the class.

What could be causing this? I know flash builder can be a bit buggy at times, but wasn't sure if someone else has had this problem and knows what might be causing it.


回答1:


I haven't worked that much with flash builder yet, but I have had it clean up unused imports for me rather unexpectedly when I'm refactoring code. i.e cut a section of code from one section - flash builder cleans up imports - then when I paste the code back somewhere else, I'm missing the necessary imports.

I think if you go to: Window > Preferences > Flash Builder > Editors > ActionScript

You can disable "remove unused imports" and see if this fixes your problem.




回答2:


This was a known bug in the FB4 betas. Make sure you are using the release version of FB4.



来源:https://stackoverflow.com/questions/2545466/flash-builder-keeps-losing-my-imported-classes-arghh

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!