Home » Newcomers » Newcomers » Help with Content Assist in Java
Help with Content Assist in Java [message #271464] |
Mon, 08 June 2009 20:09 |
mathew mooty 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 |
Dani Megert 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
>
|
|
| | |
Goto Forum:
Current Time: Wed Apr 24 18:33:20 GMT 2024
Powered by FUDForum. Page generated in 0.07956 seconds
|