case class Spaces(beforeContextBoundColon: BeforeContextBound = Spaces.BeforeContextBound.Never, afterTripleEquals: Boolean = false, inImportCurlyBraces: Boolean = false, inInterpolatedStringCurlyBraces: 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, formats import a.b.{c, d}.

inInterpolatedStringCurlyBraces

If true, formats s"${var1} ${var2.sub}" as s"${ var1 } ${ var2.sub }".

inParentheses

If true, formats foo(a, b) as foo( a, b ).

neverAroundInfixTypes

If ["##"] is specified as operator then formats Generic[Foo] ## Repr as Generic[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

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Spaces
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Spaces(beforeContextBoundColon: BeforeContextBound = Spaces.BeforeContextBound.Never, afterTripleEquals: Boolean = false, inImportCurlyBraces: Boolean = false, inInterpolatedStringCurlyBraces: 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, formats import a.b.{c, d}.

    inInterpolatedStringCurlyBraces

    If true, formats s"${var1} ${var2.sub}" as s"${ var1 } ${ var2.sub }".

    inParentheses

    If true, formats foo(a, b) as foo( a, b ).

    neverAroundInfixTypes

    If ["##"] is specified as operator then formats Generic[Foo] ## Repr as Generic[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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val afterKeywordBeforeParen: Boolean
  5. val afterSymbolicDefs: Boolean
  6. val afterTripleEquals: Boolean
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val beforeContextBoundColon: BeforeContextBound
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. val inByNameTypes: Boolean
  14. val inImportCurlyBraces: Boolean
  15. val inInterpolatedStringCurlyBraces: Boolean
  16. val inParentheses: Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isSpaceAfterKeyword(tokenAfter: Token): Boolean
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. val neverAroundInfixTypes: Seq[String]
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped