0

Highlighting for ASP.NET MVC 3, file extension .cshtml.

Wolfgang Loder 9 years ago updated by Alexander Blach (Developer) 9 years ago 2
Setting it manually to HTML is a weak workaround, so an automatic highlighting rule related to cshtml extensions would be appreciated.
I agree, bought it yesterday and it's fantastic but I need cshtml support to make it a true development tool for me.
You can add your own syntax definitions using TextMate bundles: See Manual

A quick search didn't bring up results for "TextMate ASP.net MVC bundle" though, so I guess there isn't a TextMate-compatible syntax definition for this markup language yet. The only way would be to create your own syntax definition based on maybe the standard HTML bundle.