jstice4all
jstice4all

Reputation: 1948

How to set a custom color for html angle brackets in VS 2013?

Under

Tools => Options => Environment => Fonts and Colors

there is Text Editor settings. Under Display Items there are items with names starting with HTML keyword. But I cannot find there a name for HTML angle brackets. How are they called?

Upvotes: 2

Views: 386

Answers (2)

Echo Train
Echo Train

Reputation: 99

In Visual Studio 2012, "HTML Tag Delimiter" is what worked for me. "HTML Element Name" is the tag itself.

Upvotes: 1

Sébastien Sevrin
Sébastien Sevrin

Reputation: 5405

In Visual Studio 2013, angle brackets (< and >) are in the XML Delimiter category.

This will apply to

XML Syntax delimiters, including <, <?, <!, <!--, -->, ?>, <![, ]]>, > and [, ]

Note that this will not change the C# files angle brackets.

More info: Fonts and Colors, Environment, Options Dialog Box

Upvotes: 2

Related Questions