Github user koeninger commented on the issue:

    https://github.com/apache/spark/pull/23148
  
    Just pushed a tweak to allow closing parens on same line.  New pr for that, 
or do we want to keep identifying other tweaks first?
    
    I think the args on their own line is triggered once the line is longer 
than maxColumns.  There's an option for bin-packing argument lists, but seems 
like it's only for literal arguments and a few other cases, see 
https://scalameta.org/scalafmt/docs/configuration.html#binpackliteralargumentlists
  and 
https://github.com/scalameta/scalafmt/blob/08c6798a40188ce69b3287e3026becfbd540a847/scalafmt-core/shared/src/main/scala/org/scalafmt/config/BinPack.scala
    
    I'm not aware of an option to only format the areas that the diff is in.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to