Kevin Horvath
Kevin Horvath

Reputation: 783

visual studio find and replace highlight color

Is there a way to change the highlight color when something is found with the find and replace in visual studio? Right now I have a white background and it highlights to light gray when it finds something which is not much help.

Upvotes: 64

Views: 30384

Answers (7)

Alex Fainshtein
Alex Fainshtein

Reputation: 1153

I am using Visual Studio 2017. When Quick Find or Quick Replace box is open,

Quick Find box

all the matches of the text in the document are highlighted. The color of the selected match is a combination of the selected-text color and the highlighted-match color. I do not know how to change the former (which is annoying), but you can modify the latter( like in the answer by @J3soon), and thus indirectly modify the color of the selected match.

Tools -> Options -> Environment -> Fonts and Colors -> Find Match Highlight

Fonts and Colors options

Upvotes: 3

J3soon
J3soon

Reputation: 3163

In Visual Studio 2015, you can try

Tools -> Options -> Environment -> Fonts and Colors -> Find Match Highlight

Find Match Highlight

Upvotes: 10

The Internet
The Internet

Reputation: 8123

Absolutely! Tools -> Options -> Environment -> Fonts and Colors -> Find Highlight (Extension)enter image description here

Upvotes: 60

Elisabeth
Elisabeth

Reputation: 21226

Its "Find Scope Highlight" in VS 2012!

Upvotes: 0

elbarto99se
elbarto99se

Reputation: 41

I installed Productivity Power Tools and then the missing Find Highlight (extension) font shows up.

I downloaded it, opened it, closed VS 2010, opened VS 2010, went to Tools-> Options...-> Environment-> Fonts and Colors-> Display items:-> Find Highlight (Extension) and the color was green for current find and yellow for all the other finds instead of that barley visible light light light light blue or grey (229R, 235G, 241B) for current find and nothing for other finds.

Another thing I did before I installed the PPT was did a find then esc out of the find box then used F3 and the color was a reasonable light blue.

Upvotes: 1

Sylvain Cleymans
Sylvain Cleymans

Reputation: 1927

Try to look at Tools -> Options -> Environment -> Fonts and Colors > Selected Text (should be something like that, my Visual Studio isn't in English...).

Upvotes: 8

Kevin Vella
Kevin Vella

Reputation: 1879

Go to Tools -> Options -> Environment -> Fonts and colors and also change to color of 'Inactive Selected Text' which can be used for searching CSS or html. This fixed the issue for me. :)

Upvotes: 34

Related Questions