Robert Schultz
Robert Schultz

Reputation: 94

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?

Upvotes: 6

Views: 873

Answers (2)

Jarek Kardas
Jarek Kardas

Reputation: 8455

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

Upvotes: 20

Max
Max

Reputation: 211

Use XML Name property in the Fonts and Colors list.

Upvotes: 0

Related Questions