Reputation: 3
I have to add some javascript code in VS 2013.
Before (Now)
Layout.init();
After (What I want)
Layout.init();
Side.init();
If there were no ()
I could do it with \n
but VS do not find them.
How can I change them like latter?
edit: I want to change all my project in every page with ctrl+H;
I can change with ctrl+H and regex enabled:; find:
abc
replace:
abc
def
with this regex replace:
abc \n def
when I try to change with ()
VS don't find any of them...
Upvotes: 0
Views: 1633
Reputation: 5577
I recommend you free Multiline Search and Replace Visual Studio extension. It supports Find/Replace in files.
Upvotes: 1
Reputation: 876
I'd suggest using Notepad++ > 'Find in Files' option to replace text in bulk. It works for files inside a specific directory or if needed, can traverse all sub-directories and replace them. See the below snapshot for settings needed
Upvotes: 1