Flash Builder 不断丢失我导入的类...啊 [英] Flash Builder keeps losing my imported classes...arghh

查看:19
本文介绍了Flash Builder 不断丢失我导入的类...啊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去几天我一直遇到这种非常烦人的事情,以前也发生过,但没有那么频繁.我在 Flash Builder 中创建一个项目,导入一些类,然后有时它会不断删除这些类.然后我在很多数据类型中遇到错误,必须返回我的文档并重新输入数据类型,以便它重新导入类.

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.

可能是什么原因造成的?我知道 Flash Builder 有时会有点问题,但不确定其他人是否遇到过这个问题并且知道是什么原因造成的.

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.

推荐答案

我还没有用 Flash Builder 做过多少工作,但是当我重构代码时,它意外地为我清理了未使用的导入.即从一个部分中剪下一段代码 - Flash Builder 清理导入 - 然后当我将代码粘贴回其他地方时,我错过了必要的导入.

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.

我想如果你去:窗口 > 首选项 > Flash Builder > 编辑器 > ActionScript

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.

这篇关于Flash Builder 不断丢失我导入的类...啊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆