Packages

package rewrite

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class AvoidInfix extends RewriteSession
  2. class ExpandImportSelectors extends RewriteSession
  3. sealed abstract class Patch extends AnyRef
  4. class PreferCurlyFors extends RewriteSession

    Replaces multi generator For / ForYield Expression parens and semi-colons with braces and new-lines.

    Replaces multi generator For / ForYield Expression parens and semi-colons with braces and new-lines.

    For example,

    for(a <- as; b <- bs if b > 2) yield (a, b)

    becomes,

    for { a <- as b <- bs if b > 2 } yield (a, b)

  5. class RedundantBraces extends RewriteSession

    Removes/adds curly braces where desired.

  6. class RedundantParens extends RewriteSession
  7. abstract class Rewrite extends AnyRef
  8. case class RewriteCtx(style: ScalafmtConfig, fileName: String, tree: Tree) extends Product with Serializable
  9. abstract class RewriteSession extends AnyRef
  10. class RewriteTrailingCommas extends RewriteSession
  11. sealed abstract class SortImports extends RewriteSession

    Sorts imports inside curly braces.

    Sorts imports inside curly braces.

    For example

    import a.{c, b}

    into

    import a.{b, c}

  12. class SortModifiers extends RewriteSession
  13. abstract class TokenPatch extends TreePatch
  14. abstract class TreePatch extends Patch

Value Members

  1. object AsciiSortImports extends Rewrite

    Sort imports using the traditional ASCII sorting

    Sort imports using the traditional ASCII sorting

    See: http://support.ecisolutions.com/doc-ddms/help/reportsmenu/ascii_sort_order_chart.htm

  2. object AvoidInfix extends Rewrite
  3. object ExpandImportSelectors extends Rewrite
  4. object Patch
  5. object PreferCurlyFors extends Rewrite
  6. object RedundantBraces extends Rewrite
  7. object RedundantParens extends Rewrite
  8. object Rewrite
  9. object RewriteCtx extends Serializable
  10. object RewriteTrailingCommas extends Rewrite
  11. object SortImports extends Rewrite

    Sort imports with symbols at the beginning, followed by lowercase and finally uppercase

  12. object SortModifiers extends Rewrite
  13. object TokenPatch

Ungrouped