Red*_*dro 5 javascript eclipse code-completion galileo helios
当编辑多个javascript文件时,每个javascript文件应该在全局范围内可用,因为 - 例如 - 它们将被加载到同一个html文档中,Galileo支持这个小技巧,为其他所需的文件添加注释标记.可在同一范围内使用:
myfile.js:
// @include "somefile.js"
// @include "otherfile.js"
Run Code Online (Sandbox Code Playgroud)
并且您在myfile.js中有跨文件代码完成.
但是现在我搬到了Eclipse Helios,这已不再适用了.他们是否将其他方法的功能类似?
我的 Eclipse Helios 安装与 Spket 运行得很好。
仅供参考:
日食:
版本:Helios 服务版本 2 内部版本号:20110218-0911
花销:
版本:1.6.18
在文件 One.js 中:
var varOne =
{
test: function(){}
}
Run Code Online (Sandbox Code Playgroud)
在文件 Two.js 中,按 Ctrl-空格键(或 .):

正如您所看到的 -test功能是可见的。
编辑:
另外,2个月前的问题复活的政策是什么?