Keep multiple parameters on one line in scalafmt

179 Views Asked by At

I want Scalafmt to accept this kind of formatting:

val result = longMethodName(
  a, b, c, d)

But currently it gets turned into:

val result = longMethodName(
  a,
  b,
  c,
  d)

When the parameters are short the first form is much more pleasing. Is there an option to allow it?

0

There are 0 best solutions below