Nodeclipse / nodeclipse

Nodeclipse-1 : Eclipse plugin for Node.js, PhantomJS development (Nodeclipse core plugin); Maven and Gradle (with Android) plugins
https://nodeclipse.github.io/
158 stars 78 forks source link

Improve code completion (using Node.js format) #119

Open paulvi opened 10 years ago

paulvi commented 10 years ago

I have neither plans nor desire to work on Node.js code completion, especially alone as I did in last several releases. This works requires some amount of time and concentration, while I only can spend 1-2 hours on some days.

Yet I made it easy to continue and will assist those who would continue.
Sign up if you care.

angelozerr commented 10 years ago

Hi Paul,

Perhaps it could interest you, but I have integrated tern.js http://ternjs.net/ the Javascript inference engine written in Javascript in Eclipse IDE in tern.java https://github.com/angelozerr/tern.java

tern.js is able to support any JS framework and it works on browser side too (see demo at http://ternjs.net/doc/demo.html). In my case, I use tern.java for AngularJS https://github.com/angelozerr/angularjs-eclipse

tern.js provides a node.js support. See node.js completion screenshots at https://github.com/angelozerr/tern.java/wiki/Tern-&-Node.js-support

This completion extends the JSDT completion, but tern can works outside JSDT. So if you have your own JS editor, we could plug tern completion.

Tell me if you are interested. I will help you to integrate tern in nodeclipse if you wish to use it.

Regards Angelo

paulvi commented 10 years ago

Salut Angelo

What a nice surprise to discover great work going on JS for Eclipse. This is related to #54 and and I am very interested. I need time to take a good look. Because for #7 there are several options, I was not headed into one way. There is so much to discuss, so maybe email will be better. Create new issue for new idea.

First I suggest you to create Marketplace entry for every your solution. Moonrise UI theme example showed that a lot can change afterwards, see guari/eclipse-ui-theme#21

For Nodeclipse 0.12 there will be express, and (hopefully) major db driver completions (because I have found Orion IndexFiles for them), but it is impossible to support all existing modules. That's why this issue was created: proposing to use the same format as Node.js has for base modules to use with other modules.