[英]Is there a way to format completion tooltips in Visual Studio?
I write a package for VS2015 which provides completion suggestions. 我为VS2015编写了一个软件包,其中提供了完成建议。 To show completion popups I use Microsoft.VisualStudio.Language.Intellisense.Completion
class. 为了显示完成弹出窗口,我使用Microsoft.VisualStudio.Language.Intellisense.Completion
类。 Now I need to format text in completion tooltips (some parts of tooltip text should look highlighted). 现在,我需要在完成工具提示中设置文本格式(工具提示文本的某些部分应突出显示)。 Unfortunately HTML-tags don't help here. 不幸的是,HTML标签在这里没有帮助。 Is there a way to format tooltip text? 有没有一种格式化工具提示文本的方法?
Unfortunately HTML-tags don't help here. 不幸的是,HTML标签在这里没有帮助。 Is there a way to format tooltip text? 有没有一种格式化工具提示文本的方法?
Microsoft.VisualStudio.Language.Intellisense.Completion does not support HTML-tags and other font formatter. Microsoft.VisualStudio.Language.Intellisense.Completion不支持HTML标记和其他字体格式化程序。
You can use different iconSource Distinguish different contents. 您可以使用不同的iconSource区分不同的内容。 like this: 像这样:
new Completion(str, str, str, new BitmapImage(new Uri("youURL/xml.gif", UriKind.Absolute)), null)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.