Hi, I'm Jason Nguyen. I author this blog, develop software, and am a Microsoft Certified Professional.

Visual Studio Shortcut: Replace in Files

Replace in Files: Ctrl + Shift + H

Replace in Files is nearly the same as Quick Replace, but it:

  • can include external files
  • captures the results in one of the Find Results windows

So how do we decide which to use? If I want to do a Replace Next in the current document, then I use Quick Replace. When I want to do a Replace All or act on more than the current document, then I use Replace in Files.

I wish pressing Enter in the Replace in Files dialog would invoke Replace All, but instead it invokes Find Next. To invoke Replace All, use Alt + A.

ReplaceInFiles.gif

Visual Studio Shortcut: Next Highlighted Reference, Previous Highlighted Reference

Visual Studio Shortcut: Quick Replace