Disable search selection in Visual Studio

Does anyone know if it's possible to turn off the search in the "Select" option when searching in Visual Studio?

I find the search choice really confusing, and I never want to search in the selection. Ever! I often copy the code, selecting it first, and then I do a search for something to go and paste the code, but Visual Studio by default looks in the selected text for what is not what I want.

I'm interested in a solution that works, at least in Visual Studio 2010 and 2012, but 2008 will also be a pleasant one.

+8
visual-studio-2008 visual-studio visual-studio-2010 visual-studio-2012
source share
3 answers

It has (Finally !!!) fixed with option. Following the vote from acarlon above:

In Visual Studio 2015, you can prevent Visual Studio from automatically switching to search in the selection area by unchecking the following options:

Tools-Options-Environment-Find and Replace- Automatic search restriction for selection

Remarkably, this option applies only to automation. Thus, in (extremely rare for me) cases where functionality can be convenient, it is still possible by explicitly selecting the "Select" area

+6
source share

There is currently no option, but you can vote for the option to disable it here

+6
source share

I do not think you can. And even if that were possible, it would probably mean that you also couldn't find the find + replacement within the selection, which I often do.

0
source share

All Articles