nmsmith22389 / vscode-incrementor

Advanced increment / decrement actions for (almost) anything.
13 stars 11 forks source link

Increase multiple integers on the same line #17

Open xgdgsc opened 5 years ago

xgdgsc commented 5 years ago

I would want to use

double e1 = ea[0];
double e1 = ea[0];
double e1 = ea[0];

to generate

double e1 = ea[0];
double e2 = ea[1];
double e3 = ea[2];

easily. Currently it doesn' t seem possible with this extension. Wuold you mind adding this? I used the String Manipulation extension inside jetbrains IDE a lot. Do you know a similar extension for vscode? Maybe you could borrow some of the ideas from that extension.

ipatalas commented 5 years ago

There is a built-in command that works with multiple cursors. Just place them and execute Emmet: Increment by 1