Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Howto make QuickInfo tooltips in the Disassembly Window?

$
0
0

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!

Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>