4

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?

Daniel Darabos
  • 26,991
  • 10
  • 102
  • 114

0 Answers0