如何禁用/隐藏 Flash Builder 4 中的错误
编写代码时有时会在左侧弹出那些红色错误图标。大多数时候他们都是对的,但有时他们是错误的。我怎样才能隐藏它们。他们太烦我了。
When writing code sometimes those red error icons pop up on the left side. Most of the time they are on point, but sometimes they are wrong. How can I hide them. They annoy me too much.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
红色的是正确的错误,我担心它们实际上应该是“错误的”。黄色(或橙色)警告是可以通过使用正确的 AS3 语法隐藏的警告。
抢
The red ones are proper errors, I am concerned about that they should actually be "wrong". The yellow (or orange) ones are warnings which can be hidden by using proper AS3 syntax.
Rob
默认情况下,当您在编辑过程中保存代码时,Flash Builder 会重建项目,如果文件中有一些错误(例如未完成的行),它会将它们显示为红色标记。
如果您想手动控制构建过程,可以转到
项目
菜单并取消选择自动构建
。现在,您可以手动调用构建过程以在需要时显示错误标记。只需转到相同的项目
菜单并选择构建项目
。您甚至可以为此操作指定键盘快捷键。希望这有帮助!
By default when you save your code in process of editing Flash Builder performs rebuilding of your project and if you have some errors in file (unfinished lines for example) it shows them as red markers.
If you want to control build process manually you can go to the
Project
menu and deselectBuild Automatically
. Now you can invoke build process manually to show error markers when you want. Just go to the sameProject
menu and selectBuild project
. You can even assign keyboard shortcut for this operation.Hope this helps!