Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
paulvi opened this issue Jan 27, 2014 · 2 comments
Open

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

paulvi opened this issue Jan 27, 2014 · 2 comments

Comments

@paulvi
Copy link
Member

paulvi commented Jan 27, 2014

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
Copy link

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
Copy link
Member Author

paulvi commented Mar 15, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants