|Re: HTML5 Validation in JSDT [message #554685 is a reply to message #553973]
||Tue, 24 August 2010 06:16
| Nitin Dahyabhai
Registered: July 2009
On 8/19/2010 10:40 AM, Scott Kellicker wrote:|
> What is the expected timeframe for these additions? Are these planned
> for Indigo (or before?)
For Indigo? Definitely. Earlier? Possibly.
> Also, regarding JSDoc, are there instructions-- either as part of the
> product or online-- explaining how to add your own types? Are their
> extension points related to this? Are there 3rd party plug-ins that
> provide additional types/functions?
The JSDoc is parsed directly from the *.js files on the project's
Include Path. JSDT's support for the format lies somewhere in between
the original implementation documented at
http://jsdoc.sourceforge.net/#tagref and the wiki for the rewrite at
> elements such as Canvas.
> I'm also interested in understanding how one goes about adding editor
> support for 3rd party libraries. I've seen some frustrated discussion of
> this on the web, and yet to see a success story. Maybe you can point me
> to a good how-to.
The best examples are the various libraries supplied with JSDT, which
hew along the first of the two paths for supporting a library: JSDoc.
The documentation format allows for descriptions and type information
for objects and properties. The second, and more
powerful/flexible/complicated option, makes use of the
org.eclipse.wst.jsdt.core.inferrenceSupport extension point to provide
types and properties for the source files it is given by static
analysis. The default inferrence support itself is driven by the JSDoc
in the source files, but presumably other inferrence support could be
built around other documentation formats.
Eclipse WTP Source Editing and JSDT
Eclipse WTP, IBM
Powered by FUDForum
. Page generated in 0.07122 seconds