code completion do not work in Nodeclipse 0.4

风格不统一 提交于 2019-12-06 06:08:05

问题


Are there something that I messed up, when installing Nodeclipse 0.4 so I can not do code completion since my code is worked.



EDIT:

as you can see at picture,
- the red one is Node mode in Eclipse Kepler which enable after Nodeclipse installed
- the blue one is Java EE IDE in Eclipse which I use as to installed Nodeclipse
- the yellow one is Node code in Eclipse which default exist if I chose the example
- the green is Node code class representative.

if I press CTRL+Space in console., there is not any code completion showed up which should showed up cause I already have JsHint v. 0.9.6

if I follow instructions of installation.. then..

I got this list.. (note: the disables means I already installed it.)

then.. I got this message..



ANOTHER ADDITIONAL EDIT: as the comment of Nodeclipse developer,

if I reproduced but to installed JSHint alone then it goes with this message..

Thanks,
Ahmad


回答1:


There is work in progress on content assist for Node.js modules Content assist for Eclipse JSDT based Editor

fork with work in progress: https://github.com/Enide/nodeclipse-1/compare/Nodeclipse:master...master


(source: nodeclipse.org)




回答2:


Code completion is depending on what code you have. Could you please share your snippet? Version 0.4 has Eclipse JSDT standard functions. Node.js specific libraries support is not yet implemented.

Opened issue for new feature is #50 support for node.js style module definitions

console is defined inside node.js, and as such is not yet supported.




回答3:


For second part of the question (about installation using Enide .p2f file):

if I follow instructions of installation.. then..

some update sites like StartExplore are not stable and often unavailable

So if there is problem installiing, The recommendation would be to install less plugins in one time (only 1 at a time, for example) (Then there is way to know what exact plugin update site is unavailable at this time)

For nodeclipse itself latest Eclipse (Like 4.2.2 IDE for Java EE Developers) is recommended & enough.



来源:https://stackoverflow.com/questions/17059917/code-completion-do-not-work-in-nodeclipse-0-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!