I have made QuickInfo tooltips for Assembly language (see here), and I like to extend these tooltips to the Disassembly window. That would be REALY useful for a lot of people.
Question: can I create an IntellisenseController for the textview in the Disassembly window.
To create such a controller for a textview that lives in the text editor is straightforward:
[Export(typeof(IIntellisenseControllerProvider))]
[ContentType(AsmDudePackage.AsmDudeContentType)]
internal sealed class AsmQuickInfoControllerProvider : IIntellisenseControllerProvider {
[Import]
private IQuickInfoBroker _quickInfoBroker = null;
public IIntellisenseController TryCreateIntellisenseController(ITextView textView, IList<ITextBuffer> subjectBuffers) {
return new AsmQuickInfoController(textView, subjectBuffers, _quickInfoBroker);
}
}
Regards HJ!