开发者

Ignore formatting certain sections in Visual Studio 2010

开发者 https://www.devze.com 2023-02-13 07:27 出处:网络
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?

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 i开发者_高级运维s 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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消