Skip to content
mdr edited this page Apr 26, 2013 · 2 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.1.4"

Or in Maven, but specifying a Scala version:

<dependency>
    <groupId>org.scalariform</groupId>
    <artifactId>scalariform_2.9.1</artifactId>
    <version>0.1.4</version>
</dependency>
Clone this wiki locally