Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » getting started with adding custom library support to JSDT
getting started with adding custom library support to JSDT [message #660834] Mon, 21 March 2011 16:39 Go to next message
Philippe Marschall is currently offline Philippe Marschall
Messages: 120
Registered: July 2009
Senior Member
Hi

Are there any pointers for getting started with adding custom library
support to JSDT?

BTW does anybody know about a jQuery plugin for JSDT?

Cheers
Philippe
Re: getting started with adding custom library support to JSDT [message #661296 is a reply to message #660834] Wed, 23 March 2011 21:38 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2128
Registered: July 2009
Senior Member
On 3/21/2011 4:39 PM, Philippe Marschall wrote:
> Are there any pointers for getting started with adding custom library
> support to JSDT?
>
> BTW does anybody know about a jQuery plugin for JSDT?

Eerily timed, but I'd keep an eye out for the slides and notes from
https://www.eclipsecon.org/submissions/2011/view_talk.php?id =2187 .


--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: getting started with adding custom library support to JSDT [message #665938 is a reply to message #661296] Mon, 18 April 2011 05:05 Go to previous messageGo to next message
Philippe Marschall is currently offline Philippe Marschall
Messages: 120
Registered: July 2009
Senior Member
On 03/24/2011 02:38 AM, Nitin Dahyabhai wrote:
> On 3/21/2011 4:39 PM, Philippe Marschall wrote:
>> Are there any pointers for getting started with adding custom library
>> support to JSDT?
>>
>> BTW does anybody know about a jQuery plugin for JSDT?
>
> Eerily timed, but I'd keep an eye out for the slides and notes from
> https://www.eclipsecon.org/submissions/2011/view_talk.php?id =2187 .

The presentation just mentions two extension points (documentationReader
and inferenceSupport) without providing many examples. Experimenting
with those two I couldn't achieve good results. inferenceSupport didn't
allow me to model global objects and documentationReader didn't allow me
to remove documentation from the globalVariableInitializer script.

I had much more success generating jsdoc and using a
globalVariableInitializer.

Some context of what I'm trying to achieve:
I have a library that has global objects with types and documentation
defined in an XML file. All I'm really trying to achieve is tell JSDT
about these global objects, their functions, properties, documentation
and so forth. Generating jsdoc from the XML yields OK results.

Cheers
Philippe
Re: getting started with adding custom library support to JSDT [message #666731 is a reply to message #665938] Thu, 21 April 2011 21:48 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2128
Registered: July 2009
Senior Member
Examples would be the public subclasses and implementors of the required interface, org.eclipse.wst.jsdt.core.infer.InferrenceProvider .

What's this about removing documentation?


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:JSP not recompiled on change in Java file
Next Topic:JSP: Tag library Intellisense problem in Eclipse 3.6 Helios
Goto Forum:
  


Current Time: Wed Apr 16 00:32:21 EDT 2014

Powered by FUDForum. Page generated in 0.04854 seconds