[jbosstools-dev] Integrates typescript.java & Angular2 Eclipse inside JBoss Tools?
Gorkem Ercan
gorkem.ercan at gmail.com
Tue Mar 8 11:27:53 EST 2016
Typescript is interesting but we have not done any evaluations on
typescript.java
so it is too early to say but I have added a task [1] so that we can do
an evaluation.
Angelo now that you are putting effort into typescript.java how will
this affect tern.java?
Although we are improving JSDT significantly, we plan to continue using
tern.java, especially
for inference based scenarios.
In any case thanks for doing this work, I hope we can make JSDT more
extensible as fast as
you consume them in the future :)
[1] https://issues.jboss.org/browse/JBIDE-21833
On 8 Mar 2016, at 10:13, Angelo zerr wrote:
> Hi guys,
>
> I would like to know if you could be interested to integrate
> typescript.java
> <https://github.com/angelozerr/typescript.java> and in the future
> Angular2
> Eclipse <https://github.com/angelozerr/angular2-eclipse> inside JBoss
> Tools.
>
> typescript.java extends JSDT Editor to support TypeScript (*.ts), JSX
> (*.jsx), TypeScript / JSX (*.tsx) and even JavaScript *.js since
> TypeScript
> 1.8 support JavaScript too (Salsa).
>
Would this conflict with tern.java and JSDT validations on .js files?
How is it
managed? Also, on a setup where there is JSDT, tern and typescript we
will end up
with 3 parsers. Is there a way to share ASTs among them (now that JSDT
can produce
AST compatible with esprima,acorn).
> Today typescript.java support completion, hover, hyperlink, validation
> for
> those TypeScript/ JSX files.
>
> typescript.java provides an embedded node.js (like tern.java) and an
> embedded TypeScript in order to user can work with TypeScript without
> installing node.js or TypeScript, but you can override it if you wish.
>
How does that work together with tern.java? Do they share the embedded
node.js?
> typescript.java consumes tsserver (like VSCode), so it's very easy to
> change TypeScript version without compiling the new version of
> TypeScript
> because tsserver is provided (like tsc) in theTypeScript distribution.
>
> So the main difference between TypEcs, eclipse-typescript and
> typescript.java are:
>
> * extends JSDT Editor
> * consumes tsserver instead of creating a custom TypeScript Language
> Service (in order to consume directly TypeScript installed).
> * uses WTP Validator for the validation (I will update my hack to
> consume
> WTP Validator once JSDT Eclipse Neon will be available in June).
>
> I think I will create a release of typescript.java soon and after I
> will
> work on Angular2 Eclipse. See my roadmap at
> https://github.com/angelozerr/angular2-eclipse/wiki/RoadMap
>
> MyEclipse could be perhaps interested to integrate typescript.java, it
> should be fantastic if you JBoss Tools could be interested too.
>
> Have a nice day.
>
> Reagrd's Angelo
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
More information about the jbosstools-dev
mailing list