|
|
|
|
Re: Documentation on functions called in xtext editor !! [message #760910 is a reply to message #759628] |
Mon, 05 December 2011 10:11   |
Eclipse User |
|
|
|
I not understading at all how this works... but im trying. So i have new question.
I think this may be the proper place to use setAdditionalProposalInfo :
@Override
protected ConfigurableCompletionProvider doCreateProposal(String proposal, StyledString displayString, Image image, int priority, context){
ConfigurationCompletionProvider theProposal = super.doCreateProposal(proposal,
displayString, image, priority, context);
theProposal.setAdditionalProposalInfo("functionDocumentation");
}
I have to get from the context, the function that i want to show the doc?... or there is other more efficient way ?
I trying to base my code in the code i found in this post http://www.eclipse.org/forums/index.php/m/643639/ but function "apply(IEObjectDescription candidate)" doesnt exist any more in this version of xtext, i guess.
Wron way?, right way?, other way?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06252 seconds