Visual studio multiline search/replace
-
I do use www.EditPlus.com[^] for such a task.
• My personal 24/7 webcam - Always live ;-) • Zeta Producer Desktop CMS - Intuitive, completely easy-to-use. Try out and download here now! • Zeta Uploader - Easily send large files by e-mail. Windows and web client available.
-
Am I blind, or is there no way to enter multiple line text strings into the search/replace dialog?
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall
i'm still waiting for "current line highlight" in the vs editor :sigh:
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
-
Am I blind, or is there no way to enter multiple line text strings into the search/replace dialog?
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall
I first type the multiline source and target content in Notepad and then paste them into the search/replace edit controls in VS. Nonprinting chars show up as little boxes (because I happen to use Tahoma as my system font) in these controls but the replacement works properly. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
i'm still waiting for "current line highlight" in the vs editor :sigh:
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
-
Programmer's Notepad is also great and so is Notepad++
Don't forget to vote if the response was helpful
Sig history "dad" Ishmail-Samuel Mustafa Unix is a Four Letter Word, and Vi is a Two Letter Abbreviation
-
Am I blind, or is there no way to enter multiple line text strings into the search/replace dialog?
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall
Yes, with the Use: box checked and Regular expressions selected in the dropdown
#\n
should work. -
i'm still waiting for "current line highlight" in the vs editor :sigh:
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
You could try line ruler from SlickEdit free gadgets[^]. Ticks can be removed, so it looks like normal line highlight
-
I first type the multiline source and target content in Notepad and then paste them into the search/replace edit controls in VS. Nonprinting chars show up as little boxes (because I happen to use Tahoma as my system font) in these controls but the replacement works properly. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
You could try line ruler from SlickEdit free gadgets[^]. Ticks can be removed, so it looks like normal line highlight
i tried it but it slows editing down too much :|
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
-
Yes, with the Use: box checked and Regular expressions selected in the dropdown
#\n
should work.At the cost of wasting too much time tinkering with escape chars to make sure it doesn't do something I don't want. :doh:
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall