Hi, community. The question may have been asked more than once. Since I can not google and find the answer, I will write here.

Actually the question itself: how to disable the background code highlighting in Visual Studio 2013 Ultimate for web applications, so that the C # background code is the same as the HTML background, namely in the file where the HTML code is written & C # (.cshtml). For example, leave a picture.

image

  • It’s not very convenient for me, although I may get used to it in time - Vadim Prokopchuk

1 answer 1

In order for the C # background code to be the same as the HTML background, you need to set the same color as the cshtml page background. Go in

Tools -> Options -> Environment -> Fonts and Colors -> Display Items

We are interested in Html Razor Code BackGround . change the color to the desired one.

enter image description here