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).

ATOMP
  • 131
  • 4
  • related to https://superuser.com/questions/474284/in-sublime-text-2-how-can-i-indent-out-to-a-straight-column-with-multiple-curso?rq=1 – ATOMP Mar 11 '20 at 17:10

2 Answers2

0

This extension will accomplish this:

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

ATOMP
  • 131
  • 4
0

You can try using this extension.

demostration

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

UselesssCat
  • 181
  • 7