Can xtext propose styled string in template proposals? Normal createCompletionProposal could have that but I didn't find any API returning StryledString in ITemplateProposalProvider hierarchy.

有帮助吗?

解决方案

You would have to extend TemplateProposal and add ICompletionProposalExtension6 in order to deal with styled strings in the display string of the template. That's not a class from Xtext but from the underlying Eclipse content proposal framework.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top