Want to add some console.writeln's to the first line of every method in my class
(c#, cs file in visual studio 2010).
How to identify using Regex so i can search replace?
Before search replace:
void method1(int a)
{
}
After search replace:
void method1(int a)
{
console.writeln
}
I have resharper too if that helps. Alt up down arrows take you to next prev method start
thank you