Bradley Uffner
Bradley Uffner

Reputation: 17001

In Visual Studio 2022 (with Resharper), what setting controls the color of the "inline" error hints?

I'm running Visual Studio 2022 with Resharper in the Dark theme. I see the following inline UI element for build errors, which is very hard to read with the black text on a very dark background. I'm unsure if this is being displayed by Resharper, or by Visual Studio directly, but I'd like to change the colors to make this more readable. What color setting controls the font color of this element? enter image description here

I've found several "Inline X" color settings in the options dialog, but none seem to affect this UI element.

Upvotes: 1

Views: 466

Answers (1)

Timothy G.
Timothy G.

Reputation: 9165

This is controlled by "Inline Diagnostics - Error" (in the case of errors like your screenshot shows) in Tools → Options → Environment → Font and Colors. I do find it a bit weird that it's black text in dark theme for you. I don't use this diagnostic feature, but when I turned it on to find this answer out, it defaulted to white for me.

Here you can see I changed the foreground to lime and the background to cyan and you can see the UI element updated accordingly.

Inline Diagnostics - Error option in fonts and colors

Upvotes: 1

Related Questions