Helixoft Blog

Peter Macej - lead developer of VSdocman - talks about Visual Studio tips and automation

Multiline Search and Replace Macro Updated

UPDATE 3. March 2014: I have converted the macro to a VS extension which works in VS 2013-2005.

I just have updated my macro which allows multiline search and replace in Visual Studio. Judging from comments and web logs, this macro is very popular. Updated code fixes two bugs:

  1. In VS 2005 and 2008, when using Find/Replace in Files, the "Find what" field didn't contain value entered by user but text from cursor position in editor.
  2. When Replace field contained some special characters, they were incorrectly escaped with \.

Comments

# RyanB 2009-03-12 00:42
Hmmm, you suggest you have updated the macro, but those are precisesly the two errors I ran into. Did you only update it on your computer per chance?

Comments are now closed for this entry

 

Start generating your .NET documentation now!
DOWNLOAD
Free, fully functional trial