Extent Java Editor ContentAssist [message #321889] |
Wed, 31 October 2007 05:33  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02894 seconds