Open paulvi opened 9 years ago
ref https://github.com/angelozerr/tern.java/issues/328
JSDT has 2 limitations (Validation + Syntax coloration) that are explained at https://github.com/angelozerr/tern.java/wiki/Tern-&-ECMAScript6-support#jsdt-limitation and see https://gist.github.com/vrubezhny/18afdbf1194b59604c7d#file-wtp-jsdt-development-txt
In short remove JSDT nature in .project file as
<natures>
<nature>org.nodeclipse.ui.NodeNature</nature>
<!--
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
-->
<nature>tern.eclipse.ide.core.ternnature</nature>
</natures>
@paulvi for your information the nature "'tern.eclipse.ide.core.ternnature" is not used today. I use the existing of .tern-project file in the project to know if the project has tern nature. It's very helpfull if you get a tern project from github which is created by Sublime Text, Emcas, Atom etc which doesn't contains .project. You will not to convert to Tern project in this case where .tern-project exists.
nature "'tern.eclipse.ide.core.ternnature" is not used today
so it does not matter if it is present.
When creating new Nodejs project, files at https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.ui/templates/tern-node are used
there's no yet import wizard, but there's Nodeclipse CLI nodeclipse -p
@paulvi we have just released JSjet (https://www.genuitec.com/tech/jsjet-javascript-in-eclipse/), which works with Luna and Kepler. It provides full ES6 support, including syntax validation, outline, content assist, call and type hierarchies. The solution is free for use for 8 days per month and even after that most of the features are still available. I would suggest at least trying it. Maybe this is something you could recommend to Nodeclipse users. Support for ES6 is also present in Neon, but so far it looks quite basic ;)
On the other note, I've finally managed to get resources to do Webclipse JS Debugger integration with Nodeclipse and I'll open a separate issue for that.
@piotrtomiak Should it work well with Mars/Neon?
Sorry, I meant Luna and Mars :) We plan to release Neon support in the end of June.
@piotrtomiak 1. Can we get a bunch of free-for-ever license?
@paulvi please let me know if you want me to do the talk, I would need to prepare in advance.
I'd love to hear myself and let colleagues to hear as well.
Please come up with topic to publish. Can be actually anything related to Eclipse.
We may try dry run 1 week before to make sure Internet connection is OK.
And anything change on your side, it is OK to cancel. Just tell once you discovered situation.
Hey @paulvi!
Sorry for not replying yet - I am really busy with preparing Webclispe for Neon release.
Naturally, I would like to talk about JSjet and JS Debugger and how one can take the most out of them. Not sure if such a topic would interest you though :) It would be easier for me to pick up some topic if you tell me what are the main interests of the group. Also, it might be better to take this talk off github to avoid cluttering issue comments. My e-mail is (piotr at genuitec d0t com).
OK
This is broader issue of EcmaScript support in Eclipse.
Here are some links
70 ES5
https://bugs.eclipse.org/bugs/show_bug.cgi?id=223131 https://github.com/angelozerr/tern.java/issues/308 https://github.com/marijnh/tern/issues/116