Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Help with Content Assist in Java
Help with Content Assist in Java [message #271464] Mon, 08 June 2009 20:09 Go to next message
mathew mooty is currently offline mathew mootyFriend
Messages: 15
Registered: July 2009
Junior Member
Hello,

I am a college student working at an internship over the summer. I am
developing a plugin for Eclipse 3.4 that should improve the functionality
of the content assist feature, and error correction. I have found which
packages are relevant to content assist, namely the
jface.text.contentassist package, ui.fieldassist, and the jdt.core
package, and now I'm looking for ways to extend them. However, there is no
defined extension point for any of these packages in the list of extension
points given with the program. I tried creating my own extension points,
but I cannot figure out how to get them to be useful. There are many
tutorials out there to help make editors, which often involve content
assist, but they all go about it the same way. I worked with the editors,
and made my own, but when I got to the ContentAssistProcessor, no tutorial
anywhere seemed to adequately explain it. Preferably, I'd like to use the
ContentAssistProcessor that the Java editor uses, but I don't know how to
access it.

If you could assist me in either finding a way to change the way the
standard java editor's content assist feature works, or how to make a
custom java editor with my own content assist, I would be endlessly
grateful. If there's anything else you need to know to better understand
my issue, please feel free to ask.

Thanks,

Mathew Mooty
Computer Science
Carnegie Mellon University
Re: Help with Content Assist in Java [message #271503 is a reply to message #271464] Tue, 09 June 2009 10:25 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
mathew mooty wrote:
> Hello,
>
> I am a college student working at an internship over the summer. I am
> developing a plugin for Eclipse 3.4 that should improve the
> functionality of the content assist feature, and error correction. I
> have found which packages are relevant to content assist, namely the
> jface.text.contentassist package, ui.fieldassist, and the jdt.core
> package, and now I'm looking for ways to extend them. However, there
> is no defined extension point for any of these packages in the list of
> extension points given with the program.
Take a look at org.eclipse.jdt.ui.javaCompletionProposalComputer.

Dani
> I tried creating my own extension points, but I cannot figure out how
> to get them to be useful. There are many tutorials out there to help
> make editors, which often involve content assist, but they all go
> about it the same way. I worked with the editors, and made my own, but
> when I got to the ContentAssistProcessor, no tutorial anywhere seemed
> to adequately explain it. Preferably, I'd like to use the
> ContentAssistProcessor that the Java editor uses, but I don't know how
> to access it.
>
> If you could assist me in either finding a way to change the way the
> standard java editor's content assist feature works, or how to make a
> custom java editor with my own content assist, I would be endlessly
> grateful. If there's anything else you need to know to better
> understand my issue, please feel free to ask.
>
> Thanks,
>
> Mathew Mooty
> Computer Science
> Carnegie Mellon University
>
Re: Help with Content Assist in Java [message #271575 is a reply to message #271503] Wed, 10 June 2009 22:15 Go to previous messageGo to next message
mathew mooty is currently offline mathew mootyFriend
Messages: 15
Registered: July 2009
Junior Member
Thanks! That was exactly the direction that I needed.

Gratefully,

Mathew Mooty
Re: Help with Content Assist in Java [message #717058 is a reply to message #271575] Fri, 19 August 2011 07:32 Go to previous message
Birayalp SEN is currently offline Birayalp SENFriend
Messages: 6
Registered: August 2011
Location: Turkey
Junior Member
Hi mathew,

This is Birayalp, computer science student in Turkey. I'm in same situation with you. I'M having my summer internship and they wanted me to develop a content assist plugin.

I found your post on eclipse.org/forums/index.php/m/271464/srch=Content+Assist#msg_271464

It seems Dani Megert replied you with some useful documents. But I cant see them.

I'll be reallyyy grateful , if you share some useful documents with me.

Thanks,
Birayalp
Previous Topic:Adding New Parameter Dynamically to Property Window
Next Topic:How to move Eclipse to another directory without problems?
Goto Forum:
  


Current Time: Wed Apr 24 18:33:20 GMT 2024

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

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

Back to the top