I have some code like:
testVar = { a: 1 };
testVariable1 = 2;
var c = testVar.a + testVariable2;
var d = testVar;
I want to rename "testVar" variable. When I set multiple cursors with Ctrl+D and edit variable, "testVariable" is also selected and edited.
Is there a way to skip some selections while setting multiple cursors with Ctrl+D?
Just use Ctrl+K, Ctrl+D.
(for OS X: Cmd+K, Cmd+D)
Needs a bit of practice, but gets the job done!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With