You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, my title is especially vague and uninformative. Here's an example.
list.foreach { elem =>
/* do something with elem */
}
list.foreach { case (key, value) => // (***)
/* do something with elem */
}
It would be great if there was an option to keep my standalone case on line *** on the same line (currently it always wraps before "case"), to mimic the style for the non-tuple case, recommended by the Scala Style Guide. It would remove one useless level of indentation.
The text was updated successfully, but these errors were encountered:
Sorry, my title is especially vague and uninformative. Here's an example.
It would be great if there was an option to keep my standalone case on line *** on the same line (currently it always wraps before "case"), to mimic the style for the non-tuple case, recommended by the Scala Style Guide. It would remove one useless level of indentation.
The text was updated successfully, but these errors were encountered: