DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page CompletionProposal Addtl Info Format
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 CompletionProposal Addtl Info Format - 06-25-2009, 03:16 AM

I'm creating a plugin that modifies the Content Assist feature. I would like to know the format for the yellow tooltip that appears to the right of the completion proposals. Also, if you know how JDT implements the additional proposal info, that'd be great, since I can't find anything past the seemingly deprecated getAdditionalProposalInfo() method of ICompletionProposal.

I can make the info appear on proposals that I make using the additionalInfo field, but I'm pretty sure there's a better way. Also, I've managed to get things to appear in bold if I surround the text with <b>...</b>, but no other html tags seem to work, so that leaves me puzzled. I tried <i>, <code>, to no avail.

Anything to help me understand how these things work would be appreciated.
Reply With Quote
  (#2 (permalink)) Old
Active Contributor
 
Posts: 62
Thanks: 0
Thanked 6 Times in 6 Posts
Join Date: Jun 2009
Default 06-26-2009, 04:35 AM

JDT has defined a set of tags. you could have a look at the commentary tags(<li>, <br>, @link, @return, @param etc.). The information format of Content Assist should be as same as these. If you need these formats, then it seems you should customize them by yourself.


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-26-2009)
  (#3 (permalink)) Old
Member
 
Posts: 17
Thanks: 4
Thanked 1 Time in 1 Post
Join Date: Jun 2009
Default 07-02-2009, 01:12 PM

Where can I find this list of tags?
Reply With Quote
  (#4 (permalink)) Old
Active Contributor
 
Posts: 62
Thanks: 0
Thanked 6 Times in 6 Posts
Join Date: Jun 2009
Default 07-07-2009, 04:14 AM

Hi,

you can access to windows->preferences->java->editor->template to have a check. Or you can write a shell by yourself, use one styleText in the shell to present your tags.


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

Tags
additional proposal info, content assist, format, tooltip

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
RTF format reports from jasper reports kidiee4u Java 3 04-25-2009 11:13 AM
Entering the currency format depending upon currencies selected in dropdown box srinivasrao27 Ajax & Javascript 1 09-25-2008 01:22 AM
Currency Format in java srinivasrao27 Java 1 06-06-2008 02:58 AM


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