[jbosstools-dev] A plan for JSDT and related projects...

Angelo zerr angelo.zerr at gmail.com
Thu Sep 17 05:16:33 EDT 2015


Hi Victor,

Many thank's for having written this plan.

I'm happy to see that you like the idea to delegate features to tern.java.
I think the benefit with tern.java is that it provides a better support for
ES5, ES6 and a better support to retrieve the well JavaScript types.

 It should be cool if you could add more informations like :

 * delegate JSDT Outline to tern.java Tern Outline
<https://github.com/angelozerr/tern.java/wiki/Tern-Outline-support>. The
benefit with this Outline is that you have more informations about the
types and it fixes some bugs with JSDT Outline for variable which are
inside function.
 * delegate ES5, ES6 features to tern.java. See
https://github.com/angelozerr/tern.java/wiki/Tern-&-ECMAScript6-support
 * delegate Validation to tern.java (to do that, JSDT Validator should be
disabled, See https://bugs.eclipse.org/bugs/show_bug.cgi?id=477031) which
provides several linter like
   * JSHint (see
https://github.com/angelozerr/tern.java/wiki/Tern-Linter-JSHint),
   * ESLint (see
https://github.com/angelozerr/tern.java/wiki/Tern-Linter-ESLint)
   * Tern Lint which is a semantic validator (type checker) (see
https://github.com/angelozerr/tern.java/wiki/Tern-Linter-Lint)
 * delegate the JSDoc comments creating to tern.java (when you type /**
before a function, my tern plugin is able to retrieve type). I have created
a bug at https://bugs.eclipse.org/bugs/show_bug.cgi?id=477234

You can play with the online demo at
http://demo-angelozerr.rhcloud.com/CodeMirror-Java/comments-generator.html

Could you add those link to your page? It should be really cool if JSDT
supports too syntax coloration for ES6 by improving
org.eclipse.wst.jsdt.internal.ui.text.java.JavaCodeScanner.
An other idea is to delegate this syntax coloration to tern.java I have
created a POC for that
https://github.com/angelozerr/tern.java/tree/master/sandbox and created a
bug at https://bugs.eclipse.org/bugs/show_bug.cgi?id=477030 but IMHO, it
should better if JSDT could do that.

Many thank's again Victor for your great work, and I hope really one day
JSDT+tern.java will provide the same powerful features than WebStorm.

Regard's Angelo

2015-09-17 2:25 GMT+02:00 Victor V. Rubezhny <vrubezhny at exadel.com>:

> Hi All,
>
> I've posted the plan and some thoughts for near future of JSDT and
> changes planned related projects for WTP Neon (WTP Source Editing,
> 3rd-party):
>
>
> https://gist.github.com/vrubezhny/18afdbf1194b59604c7d#file-wtp-jsdt-development-txt
>
> Any additions and suggestions are appreciated!
>
> Thanks in advance,
> /Victor
>
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20150917/376937e6/attachment.html 


More information about the jbosstools-dev mailing list