2 Replies Last post: Apr 19, 2013 5:34 PM by Ben Felda  
Ben Felda Newbie 2 posts since
Apr 19, 2013
Currently Being Moderated

Apr 19, 2013 5:08 PM

Make any text file that contains html treated as an html file

I am developing with asp.net MVC and I am not looking for code completion for .net syntax, or anything .net related. I am simply looking for a way for WebStorm to treat my cshtml file as html.  I am newer to WebStorm, and see that I can inject languages, but can't find this option for entire files.  I can just change the extension back and forth from cshtml to html when in WebStorm, but I am hoping for an easier method.

Elena Pogorelova Apprentice 668 posts since
Oct 5, 2011
Currently Being Moderated
Apr 19, 2013 5:28 PM in response to: Ben Felda
Re: Make any text file that contains html treated as an html file

Hi Ben,

 

please, try adding '*.cshtml' pattern to Settings/File Types/HTML files

 

 

Best regards,

Lena

More Like This

  • Retrieving data ...