WarWithinMe / better-align

A vscode extension to provide better vertical alignment
Other
75 stars 39 forks source link

[Feature request] Support for leading open parenthesis #54

Open asilano opened 4 years ago

asilano commented 4 years ago

If I have the following (Ruby) code:

do_the_thing(on: me,
  with: it,
  using: flamethrower,
ignoring: nil)

and I invoke Align on the with: it line, the result is:

do_the_thing(on: me,
  with:     it,
  using:    flamethrower,
  ignoring: nil)

It would be great if it could align all the arguments, including the one on the line with the open-paren, to produce the following:

do_the_thing(on:       me,
             with:     it,
             using:    flamethrower,
             ignoring: nil)