diff --git a/CHANGELOG b/CHANGELOG index 251c00e5..036978b5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,9 @@ +0.2.4 (25/October/17) + +* Updated to Scala 2.12.4 +* Updated to Sbt 1.0.2 +* Added support for multiline param groups (fixes #77) + 0.2.3 (10/August/17) * Updated to Scala 2.12.3 diff --git a/README.rst b/README.rst index 8e054eff..c526e8e4 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,7 @@ Usage within a project Have a use for the scalariform source code directly? You can use it as a build dependency: :: - "org.scalariform" %% "scalariform" % "0.2.3" + "org.scalariform" %% "scalariform" % "0.2.4" Integration with Eclipse ------------------------ @@ -297,7 +297,7 @@ alignSingleLineCaseStatements.maxArrowIndent Default: ``40`` -When ``alignSingleLineCaseStatements`` is ``true``, this is a limit on +When ``alignSingleLineCaseStatements`` is ``true`` there is a limit on the number of spaces that can be inserted before an arrow to align it with other case statements. This can be used to avoid very large gaps, e.g.: @@ -309,6 +309,21 @@ e.g.: case ccc => 2 } +allowParamGroupsOnNewlines +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Default: ``false`` + +When ``allowParamGroupsOnNewlines`` is ``true`` the default behavior of collapsing +param groups into a single line is disabled. This allows for the following formatting style: + +.. code:: scala + + def foo[T] + (a: A) + (b: B) + (implicit t: T) + compactControlReadability ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/version.sbt b/version.sbt index 050f69a4..0557689f 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.2.4-SNAPSHOT" +version in ThisBuild := "0.2.4"