Can you customize the search options for Visual Studio?

Is it possible for the VS 2012 search dialog to always use the current document and reset the case and the whole word when I press Ctrl + F? He currently remembers my last options, and I often forget to turn them off.

He also sometimes switches to all open documents that completely throw me away. I still do not understand why and when this happens.

I searched for keys and registry extensions, but so far nothing has been useful.

+4
source share
2 answers

I published the Visual Studio extension "SmartFind" to fix this problem.

http://visualstudiogallery.msdn.microsoft.com/015611c4-b357-4672-8977-f3ec92f0b808

0
source

You cannot get a dialog box or quick search user interface to always select a specific area from the box. During beta testing of VS 2012, this behavior was implemented where CTRL + F always set the area for the current document, and Ctrl + Shift + F set the scope of the Entire Solution when invoking commands. Many users were unhappy with this behavior, so it was canceled. There are no registry keys that you can change to change this behavior.

Visual Studio always tries to reuse the last used area. There are circumstances in which this scope is not available, and this will cause the IDE to change the scope for you. Suppose you search in the "Current Project", after which you close the entire solution and then call up the dialog. The volume will have to change to something else.

You probably know about this, but Ctrl + F3 will search for the word under the carriage and will always perform this search with the Whole Word option in the current document. Perhaps this will suit your needs.

+1
source

All Articles