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
NB: before submitting, please confirm that the problem is observed in the latest published version of the formatter! We don't publish hotfixes for older
versions, and the problem you have observed in an older version may have already
been fixed.
Command-line parameters (required)
When I run scalafmt via CLI like this: scalafmt -i
Steps
Given code like this:
ifvalx=44==3then5else4
Problem
Scalafmt formats code like this:
ifvalx=44==3then5else4
Expectation
I would like the formatted output to look like this:
ifvalx=44==3then5else4
Workaround
Disable scalafmt for the if condition with comments
The text was updated successfully, but these errors were encountered:
Configuration (required)
NB: before submitting, please confirm that the problem is observed in the
latest published version of the formatter! We don't publish hotfixes for older
versions, and the problem you have observed in an older version may have already
been fixed.
Command-line parameters (required)
When I run scalafmt via CLI like this:
scalafmt -i
Steps
Given code like this:
Problem
Scalafmt formats code like this:
Expectation
I would like the formatted output to look like this:
Workaround
Disable scalafmt for the if condition with comments
The text was updated successfully, but these errors were encountered: