annsk / vscode-alignment

Align chars in selection.
MIT License
13 stars 5 forks source link

No alignment for cursor placement? #14

Open darkvertex opened 7 years ago

darkvertex commented 7 years ago

In the description in the plugin marketplace, it says "Align code like in Sublime Text 3 Alignment Package" I assume it refers to this one? :point_right: https://packagecontrol.io/packages/Alignment

The feature I use the most of that one when in Sublime seems to be missing, which is aligning multiple cursors in a vertical straight line.

For example:

foo = {'a',
'b',
'c'}

put a cursor on the beginning of 'a', one on beginning of 'b', another on beginning of 'c', then trigger the sublime alignment and you get:

foo = {'a',
       'b',
       'c'}
darkvertex commented 7 years ago

In Sublime: alignment_sublime

then me trying the same with vscode-alignment: alignment_vscode (The green flashing is another plugin which is flashing what portion has been recently edited. Please ignore.)