Reputation: 765
I"m having an issue with Visual Studio. I am working in CSS and HTML, but the program does all this highlighting.
Here's an example of what I'm talking about.
I just want to turn off that highlighting in the common words, brackets, and syntax bracket highlight.
I can't find it anywhere in the Tools -> Options section.
Upvotes: 4
Views: 6698
Reputation: 1771
Actually it's the "HTML Razor Code Background" item (I found it by going down the list one by one). I changed the "Item background" to black, and it looks very nice, having got rid of the gray highlighting, which was, sorry to say it, very annoying.
The steps are the same as listed by Mark Cidade above:
Tools → Options → Environment → Fonts and Colors
The following picture is the result, which is only a screenshot and is very nice already. The real thing is much nicer.
Upvotes: 2
Reputation: 765
If you have Web Essentials installed, this is what is causing the issue. Still looking into the specific area.
Upvotes: 1
Reputation: 99957
Tools → Options → Environment → Fonts and Colors
→ Brace Matching (Rectangle)
→ CSS Keyword, etc.
→ Find Match (Highlight)
→ Highlighted Reference
To turn off syntax highlighting completely, you can assign another editor, like Script Editor to the css
extension (this will also disable all CSS recognition):
Tools → Options → Text Editor → File Extension
Upvotes: 6