Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set "Selection" scope of search & replace in VS 2015

When I select a text block in text editor and open the search & replace window (Ctrl+H), the search & replace scope is set to "Selection" automatically in VS 2013 and the olders.

In VS 2015, the scope is always set to "Current document".

I've not found any information about this change. Does anybody know it is a bug or a feature (and can it be re-configured to the former behavior somehow)?

like image 418
Jan Šotola Avatar asked Jan 18 '16 20:01

Jan Šotola


1 Answers

Tools / Options / Environment / Find and Replace / check Automatically limit search to selection option. See MSDN

like image 185
David T. Macknet Avatar answered Oct 16 '22 13:10

David T. Macknet