> 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:
* I'm waiting for J2V8 supports OSGi https://github.com/eclipsesource/J2V8/issues/37 * it's a little slower than node.js but I have implemented tern client with J2V8 very quick. See https://github.com/angelozerr/tern.java/tree/master/core/tern.server.j2v8 * there are little limitation because some tern plugin like node.js uses require function to supppirt completion for required modules. > 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. When you write a tern plugin, other editors can use it (write once, run anywhere). I see this benefit with https://github.com/angelozerr/tern-tabris or https://github.com/angelozerr/tern-phaser where there are CodeMirror, Atom, Sublime users who improve thoses plugins, that I use inside tern.java. I think it should be very shame to give up ternjs just for a license term. Regard's Angelo 2015-10-11 0:02 GMT+02:00 Dawid Pakuła <zu...@w3des.net>: > Hi, > > currently it’s not possible to do many things in JSDT by design (JDT > history). JSDT build thirth semi model (something between AST and language > model) during it’s inference process. This model have a lot of limitations > like: > 1. Unable to change return type based on arguments > 2. Unable to register method/field without AST > 3. Unable to drop fields wrongly detected by default inferencer > > So a lot of context based completions and semantic analysis aren’t > possible without second index and additional (external) processing. > > Via bug 466589 [1] I requested porting DLTK inference engine as fully > pluggable, simple and fast alternative to current. > > [1] - https://bugs.eclipse.org/bugs/show_bug.cgi?id=466589 > -- > Dawid Pakuła > +48 795 996 064 > > On 10 October 2015 at 23:12:37, Doug Schaefer (dschae...@qnx.com) wrote: > > Thanks Gorkem, that's what I suspected. > > I guess the other side of that question, why couldn't we do the same as > what tern does in JSDT? For QML we have been working on an ANTLR 4 grammars > for JavaScript and still need to make sure it's correct and then do the > hard part, the semantic analysis. But it could be a path to success as > well. > > Sent from my BlackBerry 10 smartphone on the Rogers network. > Original Message > From: Gorkem Ercan > Sent: Saturday, October 10, 2015 12:06 PM > To: General discussion of project-wide or architectural issues. > Reply To: General discussion of project-wide or architectural issues. > Subject: Re: [wtp-dev] Draft JSDT plan is now on Wiki > > > On 9 Oct 2015, at 21:43, Doug Schaefer wrote: > > > Quick question on the tern.java integration. If I¹m correct, it looks > > like > > it¹s optional depending on whether tern.java is installed on the > > user¹s > > system. What are the arguments against making a tighter integration if > > tern is so much better than JSDT could ever do. > > > It is legal. tern.java uses tern.js which uses node.js. Our current CQs > for node.js, and npm are > for prerequisite exempt only and it is not enough for tighter > integration. > Also tern.js and all its npm dependencies needs to go through legal > process. > > Until eclipse makes its peace with node.js and npm, we will continue to > have restrictions on > utilizing tools that are based on node.js. > > > I don¹t think I need to state this but we do want the best user > > experience > > possible so the user doesn¹t have to concern themselves about > > installing > > stuff they probably don¹t know about. > > > > Doug. > > > > On 2015-10-09, 11:37 AM, "wtp-dev-boun...@eclipse.org on behalf of > > Gorkem > > Ercan" <wtp-dev-boun...@eclipse.org on behalf of > > gorkem.er...@gmail.com> > > wrote: > > > >> > >> I have moved the draft JSDT plan to wiki [1] and cleaned up the > >> bugzilla > >> references. > >> I think it is still missing a few bugzillas but feel free to > >> add/remove, > >> contribute. > >> > >> Once we are happy with it we can move it to eclipse project > >> management > >> portal. > >> > >> [1] https://wiki.eclipse.org/JSDT/JSDT_Neon_Plan > >> -- > >> Gorkem > >> _______________________________________________ > >> wtp-dev mailing list > >> wtp-dev@eclipse.org > >> To change your delivery options, retrieve your password, or > >> unsubscribe > >> from this list, visit > >> https://dev.eclipse.org/mailman/listinfo/wtp-dev > > > > _______________________________________________ > > wtp-dev mailing list > > wtp-dev@eclipse.org > > To change your delivery options, retrieve your password, or > > unsubscribe from this list, visit > > https://dev.eclipse.org/mailman/listinfo/wtp-dev > _______________________________________________ > wtp-dev mailing list > wtp-dev@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/wtp-dev > _______________________________________________ > wtp-dev mailing list > wtp-dev@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/wtp-dev > > > _______________________________________________ > wtp-dev mailing list > wtp-dev@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/wtp-dev >
_______________________________________________ wtp-dev mailing list wtp-dev@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/wtp-dev