Hi Arián,
Unfortunately, I don't know if there is a document on JSDT
Inference, other than _javascript_ Development Guide > Reference
>
org.eclipse.wst.jsdt.core.inferrenceSupport
.
There are several projects that provide their own custom Inference
Engines, for example: https://github.com/zulus/extjs-eclipse - so
you can use it as an example.
Best Regards,
Victor Rubezhny,
JSDT
On 09/11/2015 07:45 PM, Arián Fornaris Fernández wrote:
Hello,
I am developing Phaser Editor (http://phasereditor.boniatillo.com), an
editor for the game engine http://phaser.io .
I am interested in the JSDT type inference, there is any document I
can read to understand how it works? A technical overview or something
like that? Right now JSDT is working very well with the Phaser API,
but yet there are things I would like to get much better.
What I did is to generate a _javascript_ API file and I added it to the
classpath container, but yet this is not perfect, it requires some
tweaks to express certain type relations (like namespaces).
What I would like to do is to provide an extension point to generate
the _javascript_ model in the fly, dynamically, and pass it to the type
inference, without the need to parse a JS API file. The other thing I
would like to do is to improve the jsdoc type annotations, I think it
is a good way to declare static types in JSDT.
Thanks very much for JSDT, it is really awsome.
Arian Fornaris
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev
|