Is it possible in VS Code to add a new parameter to my function so like my functions is test(value1) and now i want to add another parameter so test(value1, value2). Can i then say everywhere where this function is called i want value 2 to be 0?
>Solution :
You can use a regular expression with a capture group
test\((.*)\)
then replace using that capture group plus your default variable
test($1, 0)
using this Find and Replace (with Regular Expression enabled) this
test(value1)
test(other)
test(again)
will become
test(value1, 0)
test(other, 0)
test(again, 0)