Column limit, any formatting exceeding this field is penalized heavily.
If true, reformats docstrings according to @scalaDocs.
Only used if @reformatDocstrings is true. If true, reformats docstrings to use scaladoc style docstring, otherwise use javadoc style.
If true, the margin character | is treated
as the new indentation in multiline strings
ending with .stripMargin
.
If true, will fit as many arguments on each line, only breaking at commas. If false, a function call's arguments will either be all on the same line or will have one line each.
Same as binPackArguments, except for def/class definition parameters.
Call-sites where there is a newline after opening ( and newline before closing ). If true, preserves the newlines and keeps one line per argument.
If true, will fit as many arguments on each line, only breaking at dots. If false, a either all selects go on the same line or will have one line each.
If true, a newline will never be placed in front of js.native.
Indent width inside unnecessary parentheses. For example: (function( baab) && // indent 4 caab)
If true AND @binPackArguments is true AND @configStyleArguments is false, then this function( longerArg1, longerArg3) is formatted like this function( longerArg1, longerArg3 )
If true AND bin-packing is true, then call-site arguments won't be aligned by the opening parenthesis. For example, this output will be disallowed function(a, b, c)
Indent width for line continuation at call site.
Indent width for line continuation at definition/declaration site.
If true, scalafmt may choose to put a newline before colon : at defs.
Parent constructors are C and D in "class A extends B with C and D". If true, scalafmt will fit as many parent constructors on a single line. If false, each parent constructor gets its own line.
If true, formats ===( as === (
Map of tokens to rewrite. For example, Map("⇒" -> "=>") will rewrite unicode arrows to regular ascii arrows.
If true, aligns by <- in for comprehensions.
If true, aligns by ( in if/while/for. If false, indents by continuationIndentCallSite.
If true, aligns by <- in for comprehensions.
If true, aligns by ( in if/while/for.
If true, aligns by ( in if/while/for. If false, indents by continuationIndentCallSite.
If true AND bin-packing is true, then call-site arguments won't be aligned by the opening parenthesis.
If true AND bin-packing is true, then call-site arguments won't be aligned by the opening parenthesis. For example, this output will be disallowed function(a, b, c)
If true, the margin character | is treated
as the new indentation in multiline strings
ending with .stripMargin
.
If true, scalafmt may choose to put a newline before colon : at defs.
If true, will fit as many arguments on each line, only breaking at commas.
If true, will fit as many arguments on each line, only breaking at commas. If false, a function call's arguments will either be all on the same line or will have one line each.
If true, will fit as many arguments on each line, only breaking at dots.
If true, will fit as many arguments on each line, only breaking at dots. If false, a either all selects go on the same line or will have one line each.
Same as binPackArguments, except for def/class definition parameters.
Parent constructors are C and D in "class A extends B with C and D".
Parent constructors are C and D in "class A extends B with C and D". If true, scalafmt will fit as many parent constructors on a single line. If false, each parent constructor gets its own line.
Call-sites where there is a newline after opening ( and newline before closing ).
Call-sites where there is a newline after opening ( and newline before closing ). If true, preserves the newlines and keeps one line per argument.
Indent width for line continuation at call site.
Indent width for line continuation at definition/declaration site.
If true AND @binPackArguments is true AND @configStyleArguments is false, then this function( longerArg1, longerArg3) is formatted like this function( longerArg1, longerArg3 )
Column limit, any formatting exceeding this field is penalized heavily.
If true, a newline will never be placed in front of js.native.
If true, reformats docstrings according to @scalaDocs.
Map of tokens to rewrite.
Map of tokens to rewrite. For example, Map("⇒" -> "=>") will rewrite unicode arrows to regular ascii arrows.
Only used if @reformatDocstrings is true.
Only used if @reformatDocstrings is true. If true, reformats docstrings to use scaladoc style docstring, otherwise use javadoc style.
If true, formats ===( as === (
Indent width inside unnecessary parentheses.
Indent width inside unnecessary parentheses. For example: (function( baab) && // indent 4 caab)
Configuration options for scalafmt.
Column limit, any formatting exceeding this field is penalized heavily.
If true, reformats docstrings according to @scalaDocs.
Only used if @reformatDocstrings is true. If true, reformats docstrings to use scaladoc style docstring, otherwise use javadoc style.
If true, the margin character | is treated as the new indentation in multiline strings ending with
.stripMargin
.If true, will fit as many arguments on each line, only breaking at commas. If false, a function call's arguments will either be all on the same line or will have one line each.
Same as binPackArguments, except for def/class definition parameters.
Call-sites where there is a newline after opening ( and newline before closing ). If true, preserves the newlines and keeps one line per argument.
If true, will fit as many arguments on each line, only breaking at dots. If false, a either all selects go on the same line or will have one line each.
If true, a newline will never be placed in front of js.native.
Indent width inside unnecessary parentheses. For example: (function( baab) && // indent 4 caab)
If true AND @binPackArguments is true AND @configStyleArguments is false, then this function( longerArg1, longerArg3) is formatted like this function( longerArg1, longerArg3 )
If true AND bin-packing is true, then call-site arguments won't be aligned by the opening parenthesis. For example, this output will be disallowed function(a, b, c)
Indent width for line continuation at call site.
Indent width for line continuation at definition/declaration site.
If true, scalafmt may choose to put a newline before colon : at defs.
Parent constructors are C and D in "class A extends B with C and D". If true, scalafmt will fit as many parent constructors on a single line. If false, each parent constructor gets its own line.
If true, formats ===( as === (
Map of tokens to rewrite. For example, Map("⇒" -> "=>") will rewrite unicode arrows to regular ascii arrows.
If true, aligns by <- in for comprehensions.
If true, aligns by ( in if/while/for. If false, indents by continuationIndentCallSite.