如何关闭VS 2013中的Razor高亮显示? [英] How do you turn off Razor highlighting in VS 2013?

查看:99
本文介绍了如何关闭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 -> Options -> Environment -> Fonts and Colors,但剃须刀选项不存在!

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 -> Options ->Environment -> Fonts and Colors -> HTML Razor Code Background才能在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天全站免登陆