[英]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. 我正在使用eclipse作为IDE进行另一种语言的编程。 I have implemented custom content-assist feature using eclipse using the org.eclipse.jface.text.contentassist.IContentAssistProcessor package.
我已经使用org.eclipse.jface.text.contentassist.IContentAssistProcessor包使用eclipse实现了自定义的内容辅助功能。 You can see my output below with the "__XXXXX" functions being displayed as someone types anything based on the context.
您可以在下面看到我的输出,其中显示“ __XXXXX”功能,因为有人根据上下文键入任何内容。
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.
我想提供有关这些功能的有用信息。
See ICompletionProposal.getAdditionalProposalInfo()
and ICompletionProposalExtension5.getAdditionalProposalInfo(...)
. 请参阅
ICompletionProposal.getAdditionalProposalInfo()
和ICompletionProposalExtension5.getAdditionalProposalInfo(...)
。 Eclipse contains several examples on how to implement these. Eclipse包含一些有关如何实现这些示例的示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.