开发者

Dreamweaver CS5 opening .CSHTML razor files

Is there a way to force Dreamweaver to open .CSHTML files as HTML file in editor, so I can use开发者_运维百科 the code completion and all the other feature on a .CSHTML file

I was only been able to force it to open it in the code editor which doesn't have all the design features.


You may take a look at the following article.


Could I just recommend that if anyone is trying to open .CSHTML files in Dreamweaver and it is opening in TextEdit(Mac). What I did to solve this issue is to go to Preferences > File Types / Editors.

From here add ' .cshtml' to the "Open in code view" text box(note the space before the period, this is required).

Next I clicked the "+" symbol above "Extensions" list of file types, then added '.cshtml' to this list.

Close and reopen Dreamweaver and you should find that when you try and open a .CSHTML file(particularly opening the file via a 'Remote server' connection).

Daniel.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜