views:

12

answers:

0

I am trying to add some basic syntax highlighting for a new content type in Visual Studio 2010. I am starting with using the Ook Language sample from Microsoft along with a number of channel 9 VSX videos. I do have a working prototype setting the formatting for each tag in the ClassificationFormatDefinition for it just like the Ook project.

This doesn't seem like the way you would really want to do it. As you would want to use the built in format settings the user has set in Tools -> Options -> Environment -> Fonts and Colors. Or to be more advance you would create your own tags in this area the user can use, however re-using existing is all I want to do now.

The existing ones in the Fonts and Colors area I am interested in are: Comment, Keyword, Literal, Number, Operator, String, etc

Feel free to use the Ook Language project as the example to show how to do this if you want working code.