0

I want to have simple syntax highlighting when I am editing code files of a C like language. I know I can just pick C++ syntax highlighting but the language has a lot of keywords similar to HLSL and I want to color them too.

Do I need to write an VS extension for this? Or is this just a matter of proving a VS specific text file that lists keywords, operators, comments, etc?

Where can I find such examples to use as a base?

Joan Venge
  • 315,713
  • 212
  • 479
  • 689

1 Answers1

2

you can find a few examples on codeplex http://www.codeplex.com/site/search?query=highlight&ac=3. Specifically one of the plugins is for HSLS, GLSL, and CG (http://nshader.codeplex.com/)

Negative Eddy
  • 401
  • 2
  • 4