I like to add colored text to my signature help sessions. I know this can be done, eg. in C# the signature help for the Equals method gives the text "bool object.Equals(bool obj)" with the keywords bool and object colored blue.
In the method AugmentSignatureHelpSession I populate the parameter IList<ISignature> signatures, as described in the Walkthrough: Displaying Signature Help
public void AugmentSignatureHelpSession(ISignatureHelpSession session, IList<ISignature> signatures) {
//code
}However, the Microsoft.VisualStudio.Language.Intellisense.ISignature only has a field called content and a field called documentation both of type string, and not eg. TextBlock that would allow me to add layout (color) the both fields.
I'm aware of the class SignatureHelpPresenterStyle but i don't see how to use it for what I want.
[Export(typeof(SignatureHelpPresenterStyle))]
[Name("Intrinsic Signature Help Presenter Style")]
[Order(After = "default")]
[ContentType(IntrinsicsDudePackage.IntrinsicsDudeContentType)]
internal class IntrSignHelpPresenterStyle : SignatureHelpPresenterStyle
{
//No idea how this class could be useful
}Question: how do you add colored text to Signature Help sessions?
Regards HJ!