Posts tagged 'Find in Files Search'

Wednesday, February 26, 2014

Tip 3.15: You can replace all search string occurrences in files

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



Just like Ctrl+H performs a Quick Replace, Ctrl+Shift+H brings up the Replace In Files window.



Note that another option, Keep Modified Files Open After Replace All, appears in the Result Options section.



Obviously, if you check this option, all modified files will be opened in the editor. The significance of this is that you can use the undo command if you change your mind.

Happy Programming! =)
Posted by Nils-Holger at 12:37 PM with 926 comments.

Tuesday, February 25, 2014

Tip 3.14: You can stop a Find In Files search

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



Press the keyboard chord Alt+F3, S to stop a background search. The command is Edit.StopSearch.



You can also press the Stops A Background Find toolbar icon on the Find Results window.



Happy Programming! =)
Posted by Nils-Holger at 12:44 PM with 647 comments.

Monday, February 24, 2014

Tip 3.13: You can customize what files to find in

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



With the Find In Files window showing, change the Look In combo box to anything except Current Document or All Open Documents. This enables the Look At These File Types option, allowing you to select what file types to search for.



And for a more advanced searching experience, there's a "..." button next to the Look In combo box.



Clicking this button pops up the Choose Search Folders window. Here you can create a set of folders to search in.



And now you can find your custom folder set as a Look In option.



Happy Programming! =)
Posted by Nils-Holger at 12:43 PM with 1090 comments.

Sunday, February 23, 2014

Tip 3.12: How to find in files

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



Press Ctrl+Shift+F to bring up the Find In Files window.



Additionally, you can type in text in the Find combo box and click the Find In Files icon to the left of it, as shown here:



There are a lot of options associated with Find In Files, which she'll cover in future tips.

Happy Programming! =)
Posted by Nils-Holger at 1:23 PM with 654 comments.