Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio: which setting to change for Find Next results in text editor?

Consider the Visual Studio's highly-customizable configuration of the text editor.

The value I'd like to tweak is the highlighting of the found search string. See circled below.

Question: in Visual Studio 2010 Beta 2, or Visual Studio 2008 which setting in the Fonts and Colors dialog box will allow the highlight/surround color to be changed?

alt text

like image 923
p.campbell Avatar asked Dec 31 '09 04:12

p.campbell


People also ask

How do I change occurrences in Visual Studio?

You can find and replace text in the Visual Studio editor by using Find and Replace (Ctrl+F or Ctrl+H) or Find/Replace in Files (Ctrl+Shift+F or Ctrl+Shift+H). You can also find and replace only some instances of a pattern by using multi-caret selection.

How do I search for text in Visual Studio?

In Visual Studio 2022 and later, you can set Visual Studio to always keep results. Go to Tools > Options > General > Find and Replace, and select the checkbox for Keep search results by default.

How do you change all occurrences of a word in VS code?

Ctrl+D selects the word at the cursor, or the next occurrence of the current selection. Tip: You can also add more cursors with Ctrl+Shift+L, which will add a selection at each occurrence of the current selected text.


1 Answers

Try changing Colors->Selected Text and Colors->Inactive Selected Text (in Tools->Options->Environment->Fonts)

like image 178
Kornel Kisielewicz Avatar answered Sep 21 '22 00:09

Kornel Kisielewicz