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 - |
Question
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.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow