Quick Find and Quick Replace can be considered as all-purpose, generic searches. Where incremental search is the most focused search and Find In Files is the most comprehensive search, the following "Quick" search-and-replace features are in the middle of the road.
Quick Find is your standard Ctrl+F search, as represented in most of today’s software applications.
Pressing Ctrl+F brings up the UI to start a Quick Find search in the current document.
Quick Find prepopulates the Find What text with whatever text is selected in the editor or the word that the cursor is currently on.
Additionally, this Find And Replace window is actually a tool window, so you can dock it somewhere and continue to type in the editor while the window is open.
The Find combo box is another way of doing a Quick Find with the scope limited to the current document.
Press Ctrl+D to reach the Find Combo box. Now type whatever search string you want, and press Enter to do a forward search or Shift+Enter to do a reverse search.
The Quick Replace feature uses a Quick Find to find all the occurrences of the search term and then replace them with the desired text.
Press Ctrl+H to bring up the Quick Replace window. The command is Edit.Replace. You need to press either the Replace button or the Replace All button to start the find-and-replace action.
Additionally, you can customize your find-and-replace experience by expanding the Find Options section.
Let’s say you are searching for some text, and you want the Ctrl+F Quick Find window or the Ctrl+H Quick Replace window to disappear after the first search.
Go to the Tools–Options–Environment–Find And Replace page, and check the Hide Find And Replace Window After A Match Is Located For Quick Find Or Quick Replace option.
And the final search feature that’s labeled as "quick" is for searching for symbols, whether it is in your solution or in the entire Microsoft .NET Framework.
The final search command is Edit.FindSymbol, bound to Alt+F12. Using this command, you can search within your current solution (including or excluding references), or even within the .NET Framework.
Like in the previous tip about Find Symbol, select a word in the editor you want to use Find Symbol with and then press Shift+Alt+F12. No Find Symbol window will appear. It is bound to Edit.QuickFindSymbol.
Shift+Alt+F12 uses the same customizations in the Find Symbol window. So, if you need to change the scope for Find Symbol, make the customization in the Find Symbol window.
3.15.237.89