Skip to content
N.S. Cutler edited this page Oct 28, 2017 · 6 revisions

Scalariform provides an API to format Scala source, as well as access tokens and syntax trees.

Dependency

You can declare a cross-version dependency on Scalariform in sbt:

libraryDependencies += "org.scalariform" %% "scalariform" % "0.2.5"

Or in Maven, but specifying a Scala version:

<dependency>
    <groupId>org.scalariform</groupId>
    <artifactId>scalariform_2.12.4</artifactId>
    <version>0.2.5</version>
</dependency>
Clone this wiki locally