Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set the color for the placeholders in a format string

I have Resharper installed in Visual Studio, and am using the standard 'dark' theme, and somehow I managed to change something so that the '{0}' characters in a format string are no longer colored differently than the rest of the string.

For example, in the following line:

Console.WriteLine("Hello {0}", Environment.UserName);

The quoted string is entirely the same rust color (as it appears in this SO editor), whereas previously the '{0}' was highlighted with a bright greenish color.

EDIT

The settings under 'Resharper Format String Item' appear correct:

enter image description here

Also, the R# Code Annotations is set to JetBrains.Annotations, and is set as the default:

enter image description here

Would some other setting override this? Is there an easy way to just reset everything back to defaults?

like image 241
Rufus L Avatar asked Dec 17 '14 15:12

Rufus L


1 Answers

I've found the element in the change font dialog. It was a nightmare, hope it helps.

enter image description here

like image 63
Erlis Vidal Avatar answered Sep 21 '22 12:09

Erlis Vidal