Ignore formatting certain sections in Visual Studio 2010

206 views Asked by At

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?

1

There are 1 answers

2
Mauricio Scheffer On

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 ;-)