Friday, February 28, 2014

Tip 3.17: You can use F8 to navigate the Find Results window

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

Sara Ford's Blog



You can use F8 (with the focus either in the Find Results window or in the editor) to navigate to the next result, or you can use Shift+F8 to go to the previous result. The commands are Edit.GoToNextLocation and Edit.GoToPrevLocation.



And yes, you can use Quick Find, using Ctrl+F, within the Find Results window.

Happy Programming! =)
Posted by Nils-Holger at 2:21 PM with 952 comments.

Thursday, February 27, 2014

Tip 3.16: How to dock the Find And Replace window

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

Sara Ford's Blog



The Find And Replace window is not a dialog box, but actually a tool window. Thus, you can dock it to the side if you find it in your way. Since this window begins in a floating state, it may not be obvious that you can dock it. Right-click the tool window title bar and select Dock. Now the tool window can be docked using a docking target. Additionally, you can go to the Window menu and select Dock.



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

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 923 comments.