简体   繁体   中英

Strange syntax highlighting in Visual Studio 2015

I don't know which color setting to change to fix the following problem in Visual Studio 2015. It seems that a lot of color settings have shifted around, so fixes from previous versions (such as importing my theme from Visual Studio 2013) are not entirely applicable.

Anyone know which setting affects the background color of individual symbols?

In C#, you can see that the selected line symbols have a darker background than the color set for the currently selected line.

C#语法突出显示

In Razor, you can notice that the individual symbols have a darker background than the color set for the Razor background.

剃刀语法高亮

Goto "Tools" > "Options" > "Environment" > "Fonts and Colors". Click Use Defaults .

Alternatively you could also look exactly for the in individual symbols and set them to your prefered color.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM