Flex 构建器 3 字补全/智能感知停止为新变量工作

发布于 2024-08-19 23:24:19 字数 332 浏览 4 评论 0原文

由于某种原因,代码完成/智能感知已停止为新属性工作 我们的项目。

症状如下:

  • 向类添加新属性
  • 如果您转到不同的类,并尝试使用该属性,则智能感知下拉列表不会显示新属性。它确实显示了已经存在的。
  • 如果您构建项目,则一切正常,没有错误或编译器警告。
  • 在重新启动 Flex Builder(版本 3)之前,该属性不会显示在智能感知中。

我们已经在不同的机器上进行了尝试,并尝试再次设置工作区,但症状在我们的项目中到处都保持不变。

以前见过这种行为的人以​​及有关如何解决此问题的任何提示吗?

谢谢

For some reason code completion/intellisense has stopped working for new properties in
our projects.

These are the symptoms:

  • Add a new property to a class
  • If you go to a different class, and you try to use that property, the intellisense dropdown doesn't show the new property. It does show the already existing ones.
  • If you build the project, everything works fine, there are no errors or compiler warnings.
  • The property will not show in intellisense until you restart Flex Builder (version 3).

We have tried it on different machines and als tried to set up the workspace again, but the symptoms stay the same everywhere in our project.

Anyone who has seen this behaviour before and any tips on how to resolve this?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

无所谓啦 2024-08-26 23:24:19

我在 flexBuilder 是“构建工作区”和“刷新工作区”时看到了这种行为,在大型项目中有时可能需要几分钟的时间。默认情况下,每次您保存某些更改或启动/调试项目时,Flex 构建器都会构建您的工作区。

如果您没有在“项目”菜单下选中“自动构建”,则每次保存时都不会构建您的工作区,并且在构建之前您不会看到新属性,直到 Flex 构建器重新启动后才会看到新属性。

I see this behavior while flexBuilder is "Building WorkSpace" and "Refreshing WorkSpace" which, on large projects can take a few minutes sometimes. Flex builder by default builds your workspace every time you save some changes or launch/debug a project.

If you don't have "Build Automatically" checked under the "Project" menu, then your workspace will not be built with each save and you will not see your new properties until it is built, which won't be until Flex builder restarts.

岛歌少女 2024-08-26 23:24:19

问题是我使用的是放置在项目源文件夹中的非本地化资源包。在编译器中,我将源路径“src”添加到Flex Build Path设置中,这也是源代码的主文件夹。

这导致了问题。我现在已将资源移动到 src 文件夹之外的另一个文件夹,并相应地配置了编译器。 Flex Builder 又可以正常工作了。

The problem was that I was using a non-localized resource bundle that I had placed in the source folder of my project. In the compiler I added the source path "src" to the Flex Build Path settings, which is also the main folder of the source code.

This caused the problem. I have now moved the resources to another folder outside the src folder and configured the compiler accordingly. Flex Builder works all fine again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文