nmsmith22389 / vscode-incrementor

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

Add point inc/decrement #7

Open evanliomain opened 6 years ago

evanliomain commented 6 years ago

Add the ability to inc or dec a 2D point.

A point is compose by 2 coordinates X,Y where X and Y are numbers.

The goal of this feature is to be able to increment or decrement X or Y when the point is selected.

Practical use case: This is usefull, for example, when you edit an svg file, with a live preview, and you want to move a point quickly with precision. No need to select X coordinate and inc/dec it, and then select Y coordinate and inc/dec it. Here you can just select your point X,Y and inc/dec it both by just press up/down or left/right arrow key with your shortcut.

Enjoy !

nmsmith22389 commented 6 years ago

Im not sure I understand how this works... could you give some more examples?