title: Custom keyword coloring in Visual Studio 2010+
body: <p>I'm trying to add custom coloring for only certain keywords in my Visual Studio editor for C# code.  I want to be able to color any type that implements <code>IDisposable</code> as a different color.  Ideally I'd like to create a simple list of classes/interfaces that derive from <code>IDisposable</code> in some sort of configuration that I can edit. (Although if you said there was a method/plugin that would automatically find all disposable types and color them independently that would be the Holy Grail).</p>
  
  <p>I've done a ton of research and it looks like an "editor classifier" extension might do the trick.  However I created one that merely tries to color the word "Stream" and although it does hit my code that attempts to highlight that word, it does not end up highlighted in the editor.</p>
  
  <p>I have added my VS extension to Github <a href="https://github.com/mike-marshall/CustomSyntaxClassifier" rel="noreferrer"><strong>here</strong></a></p>
  
  <p>This really seems like this should be fairly straightforward but I have gone down many alleys on this one only to find dead-ends. Is there a simpler way to do this, or is my extension broken?</p>
  
  <p><strong>Update</strong></p>
  
  <p>Very strange.  I just ran my extension again and although it does not highlight the text in the editor it highlights all instances of "Stream" in the popup text when you hover over a type/variable! Is there any way to get it to apply to the editor?</p>
  
  <p><img src="https://i.stack.imgur.com/9oDsN.png" alt="enter image description here"></p>