Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Extend JS content assist
Extend JS content assist [message #733607] Wed, 05 October 2011 04:13 Go to next message
Christian Pontesegger is currently offline Christian Pontesegger
Messages: 36
Registered: July 2009
Location: Graz, Austria
Member
Is there a way to extend the JavaScript content assist? There exists an extension point org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer. Can it be used for a custom content assistant?

Has someone a simple example for this?

thanks
Re: Extend JS content assist [message #734224 is a reply to message #733607] Fri, 07 October 2011 03:12 Go to previous message
Philippe Marschall is currently offline Philippe Marschall
Messages: 115
Registered: July 2009
Senior Member
On 10/05/2011 10:13 AM, Christian Pontesegger wrote:
> Is there a way to extend the JavaScript content assist? There exists an
> extension point org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer.
> Can it be used for a custom content assistant?

There are two ways. You can either add a type inferencer or a JsDoc 2
file. You might find this presentation [1] of interest.

[1] http://www.eclipsecon.org/2011/sessions/?page=sessions&id=2187

Cheers
Philippe
Previous Topic:utf-8 encoding
Next Topic:Is the jsdoc @this unsupported?
Goto Forum:
  


Current Time: Fri May 24 12:32:26 EDT 2013

Powered by FUDForum. Page generated in 0.01455 seconds