DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Content Assist
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 17
Thanks: 4
Thanked 1 Time in 1 Post
Join Date: Jun 2009
Question Content Assist - 06-06-2009, 02:25 PM

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
Reply With Quote
  (#2 (permalink)) Old
Active Contributor
 
Posts: 62
Thanks: 0
Thanked 6 Times in 6 Posts
Join Date: Jun 2009
Default 06-12-2009, 02:13 AM

Hi, mmootygam

There is a SourceViewerConfiguration in Editor, if you need to implement any function, just implement the interface inside. For example, u want implement the content assist, got to write the IContentAssistant getContentAssistant(), that will be alright!


www.eclaxy.com
let's perfect the eclipse!
Reply With Quote
The Following User Says Thank You to oxygold For This Useful Post:
mmootygam (06-25-2009)
Reply

Tags
3.4, content assist, editor, java, plugin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Key bindings for content assist taras.di Eclipse 0 01-29-2009 07:00 AM
Javalobby/javapolis content still available?? mfarin Feedback 0 12-30-2008 09:35 PM
get the clipboard content bose_araja Ajax & Javascript 0 05-09-2008 09:38 AM
Quick Assist Popup on GraphicalEditorWithFlyoutPalette dvilaverde Eclipse 0 04-18-2008 10:12 AM
Unsupported content type in editor rick Eclipse 1 01-30-2008 05:45 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com