atom-alignment
atom-alignment copied to clipboard
Align the values, not the colons
Is there a way to align the values but maintain the colons stuck to the key?
Thanks
+1
In other words, in JSON and Ruby, among others, the colons themselves have to be immediately to the right of the key.
{
this: 1,
some_other_thing: 2
}
This gets aligned as follows:
{
this : 1,
some_other_thing: 2
}
// Coffeescript allows this, btw.
when it should look like this:
{
this: 1,
some_other_thing: 2
}
:+1:
Bumping. This would make the plugin usable with Ruby.
Is there any update for this ? I'm searching everywhere to be able to align this way, but it seems no plugin works clean, including this one