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.
Can xtext propose styled string in template proposals?
-
29-06-2022 - |
题
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.
解决方案
不隶属于 StackOverflow