We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version = 3.8.2 runner.dialect = scala3 preset = default rewrite.trailingCommas.style = "always"
When I run scalafmt via CLI like this: scalafmt filename.scala
scalafmt filename.scala
Given code like this:
f( if true then 0 else ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg , )
repeat running scalafmt
Scalafmt formats code like this:
f( if true then 0 else ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg, )
and run it again, rolls back to original
Calls should be idempotent
Not omitting braces
See also...
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Configuration (required)
Command-line parameters (required)
When I run scalafmt via CLI like this:
scalafmt filename.scala
Steps
Given code like this:
repeat running scalafmt
Problem
Scalafmt formats code like this:
and run it again, rolls back to original
Expectation
Calls should be idempotent
Workaround
Not omitting braces
Notes
See also...
The text was updated successfully, but these errors were encountered: