Run from a terminal console
git clone https://github.com/olafurpg/scalafix-sbt-example
cd scalafix-sbt-example
sbt "scalafix RemoveUnused"
git diff
At the end, you should see a diff like this
--- a/myproject/src/main/scala/a/A.scala
+++ b/myproject/src/main/scala/a/A.scala
@@ -1,4 +1,4 @@
-import scala.concurrent.Future
+