简体   繁体   English

Aptana 3.0 JS Code Assist无法使用以业力开头的名称空间

[英]Aptana 3.0 JS Code Assist not working with namespace that begins with karma

We are using Aptana 3.0 to develop our JS application. 我们正在使用Aptana 3.0开发我们的JS应用程序。 We are using the dojo toolkit. 我们正在使用dojo工具包。 In the toolkit there is a utility to generate docs, called docscripts. 在该工具箱中,有一个实用程序可以生成文档,称为文档脚本。 It generates an xml file. 它生成一个xml文件。 We have been able to get Aptana to recognize the file, but something is odd. 我们已经能够使Aptana识别该文件,但是有些奇怪。 Our namespace which we are using, "karma", does not seem to "work". 我们正在使用的名称空间“业力”似乎并不“起作用”。 When we change the namespace to "foo" or any other string, even "karma2", the code assist works. 当我们将命名空间更改为“ foo”或其他任何字符串,甚至是“ karma2”时,代码辅助功能都可以工作。

Is there something against "karma" being used as a namespace? 是否有反对将“业力”用作命名空间的东西? All of the dojo, dijit, and dojox classes are provided thru code assist as expected. 所有dojo,dijit和dojox类均通过代码辅助提供,如预期的那样。

Thoughts? 有什么想法吗?

There is certainly nothing directly blocking that name. 当然,没有什么直接阻止该名称。 If you can file a bug with the XML file you are using, that would be great. 如果您可以使用您正在使用的XML文件来提交错误,那就太好了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM