Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Extend Java Editor - Extend Content-Assist Mechanism
Extend Java Editor - Extend Content-Assist Mechanism [message #318087] Fri, 20 July 2007 12:15 Go to next message
Eclipse UserFriend
Originally posted by: serban.alexe.ama.us

Hello.
I have to develop a plug-in that will use the Standard Java-Code Editor from
Eclipse, in order to manipulate source-code files written in a language
"almost" identical with Java.

Because of that "almost", I need to extend the Content-Assist mechanism, in
order to provide some additional completions that would not otherwise be
available.

My question is: how do I begin it ?
Should I use some extension point from the "org.eclipse.jdt.core" plug-in,
or rely on some Listeners mechanism ?
A small code-sample would be very helpful.

Thank You.
Re: Extend Java Editor - Extend Content-Assist Mechanism [message #318181 is a reply to message #318087] Mon, 23 July 2007 13:09 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Serban Alexe wrote:

>Hello.
>I have to develop a plug-in that will use the Standard Java-Code Editor from
>Eclipse, in order to manipulate source-code files written in a language
>"almost" identical with Java.
>
>Because of that "almost", I need to extend the Content-Assist mechanism, in
>order to provide some additional completions that would not otherwise be
>available.
>
>My question is: how do I begin it ?
>
>
Take a look at the org.eclipse.jdt.ui.javaCompletionProposalComputer
extension point.

Dani

>Should I use some extension point from the "org.eclipse.jdt.core" plug-in,
>or rely on some Listeners mechanism ?
>A small code-sample would be very helpful.
>
>Thank You.
>
>
>
>
>
Re: Extend Java Editor - Extend Content-Assist Mechanism [message #318199 is a reply to message #318181] Mon, 23 July 2007 15:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: serban.alexe.ama.us

"Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
news:f829bb$4nm$2@build.eclipse.org...
>>
> Take a look at the org.eclipse.jdt.ui.javaCompletionProposalComputer
> extension point.
>

I've looked at this extension point, and at the end of the documentation
that it provides, it says
"see org.eclipse.jdt.internal.ui.text.java.HippieProposalComputer for an
example."

Where can I find this package ?

Thank You.
Re: Extend Java Editor - Extend Content-Assist Mechanism [message #318254 is a reply to message #318199] Tue, 24 July 2007 07:07 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Serban Alexe wrote:

>"Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
>news:f829bb$4nm$2@build.eclipse.org...
>
>
>>Take a look at the org.eclipse.jdt.ui.javaCompletionProposalComputer
>>extension point.
>>
>>
>>
>
>I've looked at this extension point, and at the end of the documentation
>that it provides, it says
> "see org.eclipse.jdt.internal.ui.text.java.HippieProposalComputer for an
>example."
>
>Where can I find this package ?
>
>
In the same plug-in as the extension point is defined (org.eclipse.jdt.ui).

Dani

>Thank You.
>
>
>
>
Previous Topic:Tracking delete on a resource without an IResourceChangeListener
Next Topic:location of the editor suggestion box
Goto Forum:
  


Current Time: Fri Apr 26 14:49:05 GMT 2024

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

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

Back to the top