language-ruby icon indicating copy to clipboard operation
language-ruby copied to clipboard

question: indentation for multi-line method params?

Open tony-kerz opened this issue 11 years ago • 1 comments

hi,

auto-indent for the following yields:

    result = Foo.bar
    (
    from_month: from_month,
    to_month: to_month
    )

is there any way to coax auto-indent to yield the parameters indented like so...?:

    result = Foo.bar
    (
      from_month: from_month,
      to_month: to_month
    )

similarly, the following yields like so:

    result = Foo.bar(from_month: from_month,
    to_month: to_month)

i might have expected something like:

    result = Foo.bar(from_month: from_month,
                     to_month: to_month)

regards, tony...

tony-kerz avatar Jul 31 '14 19:07 tony-kerz

Probably related (v0.199.0): here.

muppetjones avatar May 19 '15 19:05 muppetjones