Eclipse Orion代码完成 [英] Eclipse orion code completion

查看:102
本文介绍了Eclipse Orion代码完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读到某个地方,猎户座使用tern来完成JavaScript的代码,但是在运行服务器之后,创建了一个js文件,然后创建了另一个文件,另一个文件并没有意识到第一个文件中的任何代码.

I read somewhere that orion uses tern for code completion for JavaScript but after running the server, creating a js file and then creating another file the other file is unaware of any code in the first file.

似乎补全仅适用于当前打开的文件中定义的符号.

It seems that completion only works for symbols defined in the currently open file.

是否有一种方法可以在Orion中配置TERN,这样它会产生一些有用的完成效果,而不是没有任何实际价值的有效演示?

Is there a way to configure tern in orion so it will produce some helpful completion instead of a working demo without any real value?

推荐答案

Orion仅在几周前(2015年4月中旬)才搬到Tern寻求内容协助建议.

Orion has only moved to Tern for content assist proposals a couple weeks ago (mid-April 2015).

https://bugs.eclipse.org/bugs/show_bug.cgi? id = 432940

我们正在致力于启用多文件支持.

We are working on enabling multi-file support.

https://bugs.eclipse.org/bugs/show_bug.cgi? id = 464821

这篇关于Eclipse Orion代码完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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