Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 20:39 Go to next message
Philippe Marschall is currently offline Philippe MarschallFriend
Messages: 121
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] Thu, 24 March 2011 01:38 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
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 Web Tools Platform
Re: getting started with adding custom library support to JSDT [message #665938 is a reply to message #661296] Mon, 18 April 2011 09:05 Go to previous messageGo to next message
Philippe Marschall is currently offline Philippe MarschallFriend
Messages: 121
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] Fri, 22 April 2011 01:48 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
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 Web Tools Platform
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: Tue Apr 16 10:07:13 GMT 2024

Powered by FUDForum. Page generated in 0.60028 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top