Changing Color of Web.config Name Attribute Value
I cannot seem to find where to change the color of value for the name attribute in the web.config. By default it's a dark blue which makes it hard to read using themes like Son of Obsidion and Code Anxiety. I changed the color for "XML Keyword" which I thought it was but the color still does not change.
Example:
<behavior name="Default">
<serviceMetadata httpGetEnabled="true"/>
</behavior>
In this case the color of the value "Default" stays dark blue. Any开发者_运维技巧 suggestions?
If you have VSCommands installed then it's VSCommands.Xml.KeyAttribute in Fonts and Colors settings.
This is done by Highlight Key Attributes feature which highlights attributes such as name, id, guid and key. You can disable it completely from Tools | VSCommands | Options | Text Editor | Xml
Use XML Name property in the Fonts and Colors list.
精彩评论