footy
footy

Reputation: 5911

How to add context sensitive help text for custom functions in eclipse

I am programming for using eclipse as an IDE to program in a different language. I have implemented custom content-assist feature using eclipse using the org.eclipse.jface.text.contentassist.IContentAssistProcessor package. You can see my output below with the "__XXXXX" functions being displayed as someone types anything based on the context.

How can I display function details of a custom function. I mean, the type of help that can been seen in normal functions. I want to give an useful information about these functions.

Context sensitive help

Upvotes: 0

Views: 484

Answers (1)

Tonny Madsen
Tonny Madsen

Reputation: 12718

See ICompletionProposal.getAdditionalProposalInfo() and ICompletionProposalExtension5.getAdditionalProposalInfo(...). Eclipse contains several examples on how to implement these.

Upvotes: 1

Related Questions