3

I know a lot have asked about how to tweak the formatting options in Visual Studio, but is there a way to instruct Visual Studio to ignore certain sections of a document?

My problem is that I have a Velocity template, but Visual Studio does not know how to format the specific tags, which ends up making the template invalid.

In Visual Studio, I have associated my templates with the HTML editor, but is there another way to get syntax highlighting?

Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
Siewers
  • 22,626
  • 3
  • 20
  • 31

1 Answers1

0

You might want to try CVSI, although I don't think it currently supports VS2010, but you can always send a patch to make it work ;-)

Mauricio Scheffer
  • 98,863
  • 23
  • 192
  • 275
  • Cool! I actually saw that, but it didn't support VS2010, the current trunk does however. I'll check it out later. – Siewers Feb 26 '11 at 07:18
  • I took a look at the trunk, but it didn't really seem to be able to do what I wan't... Sorry... – Siewers Mar 03 '11 at 21:00