I was wondering if it was possible to set a custom color for attributes inside of Visual Studio, natively or using ReSharper.
Ideally, I would love to be able to highlight specific attributes with specific colors but I have been unable to find a solution for this.
Using ReSharper, I can change their colors using ReSharper Class Identifier
but that changes the colors for all class references. I've tried using user keywords
in a usertype.dat
file. I've tried using custom task list tokens but those weren't helping either.
Attribute word is a little confusing. Although the generic term is Attribute, they are more or less User defined classes.
Try this:
Tools => Options => Environment => Fonts and Colors => Text Editor => User Types - Classes.
Change foreground color.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With