case class Spaces(beforeContextBoundColon: SpaceBeforeContextBound = Never, afterTripleEquals: Boolean = false, inImportCurlyBraces: Boolean = false, inParentheses: Boolean = false, neverAroundInfixTypes: Seq[String] = Nil, afterKeywordBeforeParen: Boolean = true, inByNameTypes: Boolean = true, afterSymbolicDefs: Boolean = false) extends Product with Serializable
- beforeContextBoundColon
formats [A: T] as [A : T]
- afterTripleEquals
If true, formats ===( as === (
- inImportCurlyBraces
If true, formats
import a.b.{ c, d }. If false, formatsimport a.b.{c, d}.- inParentheses
If true, formats
foo(a, b)asfoo( a, b ).- neverAroundInfixTypes
If ["##"] is specified as operator then formats
Generic[Foo] ## ReprasGeneric[Foo]##Repr.- afterKeywordBeforeParen
if false, does not add a space between a keyword and a parenthesis. For example: if(a) println("HELLO!") while(a) println("HELLO!")
- inByNameTypes
If false, removes space in by-name parameter.
def foo(a: =>A)- afterSymbolicDefs
If true, adds a single space after an operator method For example: def <=> [T](that: T): Boolean
- Alphabetic
- By Inheritance
- Spaces
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Spaces(beforeContextBoundColon: SpaceBeforeContextBound = Never, afterTripleEquals: Boolean = false, inImportCurlyBraces: Boolean = false, inParentheses: Boolean = false, neverAroundInfixTypes: Seq[String] = Nil, afterKeywordBeforeParen: Boolean = true, inByNameTypes: Boolean = true, afterSymbolicDefs: Boolean = false)
- beforeContextBoundColon
formats [A: T] as [A : T]
- afterTripleEquals
If true, formats ===( as === (
- inImportCurlyBraces
If true, formats
import a.b.{ c, d }. If false, formatsimport a.b.{c, d}.- inParentheses
If true, formats
foo(a, b)asfoo( a, b ).- neverAroundInfixTypes
If ["##"] is specified as operator then formats
Generic[Foo] ## ReprasGeneric[Foo]##Repr.- afterKeywordBeforeParen
if false, does not add a space between a keyword and a parenthesis. For example: if(a) println("HELLO!") while(a) println("HELLO!")
- inByNameTypes
If false, removes space in by-name parameter.
def foo(a: =>A)- afterSymbolicDefs
If true, adds a single space after an operator method For example: def <=> [T](that: T): Boolean
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val afterKeywordBeforeParen: Boolean
- val afterSymbolicDefs: Boolean
- val afterTripleEquals: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val beforeContextBoundColon: SpaceBeforeContextBound
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val inByNameTypes: Boolean
- val inImportCurlyBraces: Boolean
- val inParentheses: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val neverAroundInfixTypes: Seq[String]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- implicit val reader: ConfDecoder[Spaces]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()