views:

27

answers:

1

I was told that in Visual Studio I can "create an extension" to create a block of color when the cursor hovers over e.g. "DF7401" or "ffcccc".

How would I do that?

+1  A: 

As a popup or physically in the editor?

This sample shows how to replace them in the text, so you see the color instead of the hex value.

If you want to do it on hover, you could do it as an IQuickInfoSource, which is the normal hover text help you get in VS. I believe the Ook! language sample shows you how to add your own quick info source.

Noah Richards