> Thanks Gorkem, that's what I suspected.
For your information, it's possible to execute tern.java with J2V8, but it's not official because:
* there are little limitation because some tern plugin like node.js uses require function to supppirt completion for required modules.
Cool. I was hoping that but. Ian’s done some great work with J2V8 and we should make sure we can use it from Eclipse projects. If there are performance issues, we should try and fix them. At the end of it, it’s the same engine that node uses.
> I guess the other side of that question, why couldn't we do the same as what tern does in JSDT?
IMHO, I think it's a very hard and long task. tern.js supports ES6 and provides the capability to implement tern plugins like requirejs, nodejs, angular, dojo, YUI, etc
I hope it will support ES7 decorator (used by Angular2 if I have well understood).
As it can be used in any context, there are a lot of editors like Emacs, Vim, Sublime, Atom, Bracket which uses ternjs. So there are a big community around ternjs.
I think it should be very shame to give up ternjs just for a license term.
Yes, it would be a shame, but it’s the reality we face at Eclipse. We really need modern web development tooling to be one of the core pieces of the Eclipse IDE. And being able to add support for new frameworks quickly is very important. Angular 2 and
React are critical there IMHO, Angular 1 and Ember are probably in the mix there too. And as we all know there’s a new one every day :).
We need to do what we need to do, though. Hopefully we can work this out with tern. If it doesn’t, we need to consider alternatives.
|