I’ve been extending my Flow Control Classifier sample extension for Visual Studio 2010, and based on the new features, I decided to rename it to KeywordClassifier instead. I’ve renamed the GitHub repository as well, so make sure you’re heading to the new one.

I will continue playing with this, but besides a significant refactoring of the code, I’ve added support for two new classifications:

  • Visibility Keywords: You can now select different highlighting options for visibility keywords in code like public, private and so on. For example, you can make them less visible by changing them to a color closer to your background.
  • LINQ Operators: For C#, you can select options for LINQ query operators, like select, where, groupby, etc.

Here’s a screenshot of some of the extension C# code showing all three of our supported classifications:

vs10_kc_1 

Enjoy!


Tomas Restrepo

Software developer located in Colombia. Sr. PFE at Microsoft.