This is related to this question I asked earlier about syntax highlighting user-defined blocks of code.
Is it possible to write some kind of plug-in for visual studio where it would override how it does syntax highlighting? Where would I start looking for that?
Thanks!
This is possible. Many VS addins, such as Visual Assist, Resharper, Code Rush, etc. have their own extensions to how the syntax highlighting in Visual Studio works.
If you want to write your own….
Take a look at the page on Syntax Coloring in the VSX reference documentation.
The interface you’ll need to work with is IVsColorizer2 (or IVsColorizer).