我在哪里可以改变的VS10 MVC Asp.net 3剃刀语法hightlighting? [英] Where can I change the Asp.net MVC 3 Razor syntax hightlighting in VS10?

查看:190
本文介绍了我在哪里可以改变的VS10 MVC Asp.net 3剃刀语法hightlighting?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索工具>选项,但在那里我VS10可关闭或更改默认高亮在ASP.NET的@nuggets新的Razor视图MVC 3?

I searched Tools > Options, but where in VS10 can I turn off or change the default highlighting for the new Razor view on the @nuggets in ASP.NET MVC 3?

推荐答案

剃刀只添加一个条目字体和放大器;颜色,剃刀code。控制给剃刀code掘金的背景颜色。颜色的其余是一样的C#/ VB颜色。在@字符本身和剃刀关键字,比如模式和节使用相同颜色的ASPX<%标记(HTML服务器端脚本,要归功于另一个的Andrew 挖了具体的条目)。

Razor only adds one entry to Fonts & Colors, "Razor Code". That controls the background color given to Razor Code nuggets. The rest of the colors are the same as the C#/VB colors. The "@" character itself and Razor keywords like "model" and "section" use the same color as the ASPX "<%" tag ("HTML Server-Side Script", thanks to another Andrew for digging up the specific entry).

如果您愿意,我们有一些这些单独条目,请给我们发电子邮件,并建议:razorvs@microsoft.com

If you'd rather we had separate entries for some of these, please email us and suggest that: razorvs@microsoft.com

这篇关于我在哪里可以改变的VS10 MVC Asp.net 3剃刀语法hightlighting?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆