Visual Studio Tricks


Visual Studio (2005,2008,2010) Tips and Tricks.


#81 Replace in all files (With Undo Support)

Global search/replace can be tricky. Often times you’ll end up replacing something that you didn’t realize was going to be replaced. Having an undo feature is vey helpful. This video shows you the ins and outs, of Find/Replace in all files.

Click Screenshot To Play Video

#81 Replace in all files (With Undo Support)

Runtime: 3.5Minutes - Resolution: 900 by 508 - File Size: 2Meg

Direct Download: If the video does not work for you,
Click Here to download it.

Snippets / Notes:

Just like Ctrl+H does a Quick Replace, Ctrl+Shift+H will bring up the Replace in Files window.  We've seen all these options over the past 2 weeks, but there's just one more now that has become enabled.

“Keep modified files open after Replace All”

Obviously, if you check this option, all modified files will be opened in the editor.  The significance of this is that you can do an undo, if you change your mind. If you don't have this option checked, we'll prompt you "are you sure you don't want to do an undo?" After you commit the Replace all with the files opened, if you decide to do an undo, just simply press Ctrl+Z on one of the newly modified / opened files.  You'll notice that all open files will have the dirty bit * removed, reverting to their previous contents.

Kick this Trick on DotNetKicks.com

0 comment(s)


RSS Feeds

All Technology Posts

Scott Cate Main Blog Feed


Visual Studio Tricks Only Feed

@ScottCate on Twitter

Twitter @ScottCate

  • Today is a good day!
  • @blaken i already like @codesmithtools :)
  • @pacitpros is hosting a 2 day IT Pro Conference in San Francisco March 22-23rd, 2012 Tech Days http://t.co/2igpJikF
  • Can you help me get to a quick 25 likes for #Mykb on Facebook? http://t.co/0WSh2GdZ
  • Meeting Planner Meltdown via/ @EventDay evn.tc/xpXHnP #Engage365 #EventProfs