Scalafmt v1.6.0-RC2
Pre-release
Pre-release
This release fixes several issues that were reported since v1.6.0-RC1
- #1212 by @olafurpg Re-add fromHoconString overload to please neo-scalafmt
- #1211 by @olafurpg Don't crash on isWindows check, fixes #1207
- #1214 by @olafurpg Change default to
trailingCommas = never
- #1215 by @olafurpg Support
align.tokens={none,some,more,most}
- #1213 by @olafurpg Avoid lookup up match for non-Token.Left{Brace,Paren}
- Since this is a release candidate, the IntelliJ plugin is released in the "Nightly channel".
- NOTE sbt-scalafmt has a binary incompatibility with sbt 1 causing
NoSuchMethodFoundException
when formatting files with xml literals due to sbt/zinc#546 and sbt/sbt#4183
It's worth noting that the following configuration
align = more
align.openParenCallSite = true
is equivalent to
align.openParenSite = true
Instead, it is possible to set
align.tokens = more
align.openParenCallSite = true