Web.config name attribute name color change

I cannot find where to change the color of the value of the name attribute in the web.config file. By default, it is dark blue, which makes it difficult to read using topics such as Son of Obsidian and Code Alarm. I changed the color for the β€œXML keyword”, which I thought was, but the color still does not change.

Example:

<behavior name="Default"> <serviceMetadata httpGetEnabled="true"/> </behavior> 

In this case, the default color remains blue. Any suggestions?

+6
source share
2 answers

If you have VSCommands installed, then this is VSCommands.Xml.KeyAttribute in the font and color settings.

This is done using the Highlight Key Attributes function, which highlights attributes such as name, id, guid, and key. You can completely disable it from Tools | VSCommands | Options | Text editor | Xml

+20
source

Use the XML Name property in the Fonts and Colors list.

0
source

Source: https://habr.com/ru/post/887953/


All Articles