Is there a way to format completion tooltips in Visual Studio?

206 Views Asked by At

I write a package for VS2015 which provides completion suggestions. To show completion popups I use Microsoft.VisualStudio.Language.Intellisense.Completion class. Now I need to format text in completion tooltips (some parts of tooltip text should look highlighted). Unfortunately HTML-tags don't help here. Is there a way to format tooltip text?

1

There are 1 best solutions below

0
On

Unfortunately HTML-tags don't help here. Is there a way to format tooltip text?

Microsoft.VisualStudio.Language.Intellisense.Completion does not support HTML-tags and other font formatter.

You can use different iconSource Distinguish different contents. like this:

new Completion(str, str, str, new BitmapImage(new Uri("youURL/xml.gif", UriKind.Absolute)), null)

enter image description here