如何在 VS 2013 中关闭 Razor 突出显示? [英] How do you turn off Razor highlighting in VS 2013?

查看:22
本文介绍了如何在 VS 2013 中关闭 Razor 突出显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了一个线程:突出显示杀死了我的 Razor 语法Visual Studio 2010 ,询问并解释如何关闭 Razors 代码的突出显示.

I found a thread: Highlighting kills my Razor syntax in Visual Studio 2010 , asking and explaining how to turn off the highlighting for Razors code.

问题是,我导航到:Tools ->选项 ->环境 ->字体和颜色,但没有剃刀选项!

The problem is, I navigate to: Tools -> Options -> Environment -> Fonts and Colors but the razor option isn't there!

我相信我可以习惯它,但它相当分散注意力,因为我对 MVC 还是很陌生.

I'm sure I can get used to it, but its rather distracting because I'm still very new with MVC.

这是我的选择:

(图片没有我想象的那么清晰,但没有 Razor 选项!)

(the picture didn't come out as clear as I thought it would, but the Razor options aren't there!)

推荐答案

你得找 Tools ->选项 -> 环境 ->字体和颜色 ->HTML Razor 代码背景 在 VS 2013 中对其进行更改.

You have to find Tools -> Options ->Environment -> Fonts and Colors -> HTML Razor Code Background to change it in VS 2013.

这篇关于如何在 VS 2013 中关闭 Razor 突出显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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