1

I'm looking for an easy way to do this in VS Code. (I'm writing an interpreter so there's lots of boilerplate!)

indents are different indents are different

One strategy I found is to

add too much space

then ESC and multi-line down again,

then select word right

then select word left

and then backspace for

but I'm wondering if there is a shortcut or extension that does this in one step (instead of 2n + 5 steps).

1

2 Answers 2

0

This extension will accomplish this:

https://marketplace.visualstudio.com/items?itemName=annsk.alignment

0

You can try using this extension.

demostration

https://marketplace.visualstudio.com/items?itemName=yo1dog.cursor-align

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .