Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Extent Java Editor ContentAssist
Extent Java Editor ContentAssist [message #321889] Wed, 31 October 2007 05:33 Go to next message
Eclipse UserFriend
Originally posted by: serban.alexe.ama.us

Hello.
I'm working on an Eclipse Plug-in, and I need to extend the Content-Assist
mechanism, in order to provide some additional completion suggestions.

I created an extension from the
"org.eclipse.jdt.ui.javaCompletionProposalComputer" extension point, the
contributed class that I used implements
org.eclipse.jdt.ui.text.java.IJavaCompletionProposalComputer , and... I'm
stuck :(

Using some print, i've determined that the constructor of my
CompletionProposalComputer is called on activation, and so are the
"sessionStarted ()" and "sessionEnded ()" methods, but that's all that
happends. The other 2 methods, "computeCompletionProposals" and
"computeContextInformation" are never called.

Can anyone help me ?
What do I have to do in order to insert some additional completion
suggestions ?

Thank You.
Re: Extent Java Editor ContentAssist [message #321890 is a reply to message #321889] Wed, 31 October 2007 07:06 Go to previous message
Eclipse UserFriend
Originally posted by: valere.fedronic.ext.streamezzo.com

Hi,

Maybe your contributor is not selected in the preferences ?

Window::Preferences --> java --> editor --> contentAssist --> advanced .


Valère.

Serban Alexe a écrit :
> Hello.
> I'm working on an Eclipse Plug-in, and I need to extend the Content-Assist
> mechanism, in order to provide some additional completion suggestions.
>
> I created an extension from the
> "org.eclipse.jdt.ui.javaCompletionProposalComputer" extension point, the
> contributed class that I used implements
> org.eclipse.jdt.ui.text.java.IJavaCompletionProposalComputer , and... I'm
> stuck :(
>
> Using some print, i've determined that the constructor of my
> CompletionProposalComputer is called on activation, and so are the
> "sessionStarted ()" and "sessionEnded ()" methods, but that's all that
> happends. The other 2 methods, "computeCompletionProposals" and
> "computeContextInformation" are never called.
>
> Can anyone help me ?
> What do I have to do in order to insert some additional completion
> suggestions ?
>
> Thank You.
>
>
Previous Topic:Eclipse headless build NullPointerException has got me stuck
Next Topic:Disabling compiling for a Java project
Goto Forum:
  


Current Time: Sat May 10 12:11:02 EDT 2025

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

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

Back to the top