Search code examples
c#asp.net-mvcrazormodel-view-controllervisual-studio-2013

How do you turn off Razor highlighting in VS 2013?


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.

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

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

This are the options I have:
An example of what I'm seeing with the highlighting and the options

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


Solution

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