Code formatter for Scala
1,488
stars
6,990
commits
Scala
primary language
Sep 11, 2026
updated
Head over to the user docs for instructions on how to install scalafmt.
sbt compile or sbt core/compile (specific project).sbt testtests/testOnly *FormatTests../docs/contributing-website.md.sbt scripted../bin/run-benchmarks.sh.tests/test:runMain org.scalafmt.ScalafmtProps (slow, and requires a lot of memory/cpu)FormatTests, a flamegraph report
like this one
is generated in target/index.html.
I usually keep a browser tab open at localhost:3000/target/index.html
along with this background process:
browser-sync start --server --files "target/*.html".
See Browsersync.The current maintainers (people who can merge pull requests) are:
@olafurpg@pjrt@ysusuk@pauldraper@tanishiking@poslegmAn up-to-date list of contributors is available here: https://github.com/scalameta/scalafmt/graphs/contributors
We strive to offer a welcoming environment to learn, teach and contribute.
JProfiler generously supports scalafmt with its full-featured Java Profiler.
(top 30 of 167)
Scala
98.0%
Code formatter for Scala
1,488
stars
6,990
commits
Scala
primary language
Sep 11, 2026
updated
Head over to the user docs for instructions on how to install scalafmt.
sbt compile or sbt core/compile (specific project).sbt testtests/testOnly *FormatTests../docs/contributing-website.md.sbt scripted../bin/run-benchmarks.sh.tests/test:runMain org.scalafmt.ScalafmtProps (slow, and requires a lot of memory/cpu)FormatTests, a flamegraph report
like this one
is generated in target/index.html.
I usually keep a browser tab open at localhost:3000/target/index.html
along with this background process:
browser-sync start --server --files "target/*.html".
See Browsersync.The current maintainers (people who can merge pull requests) are:
@olafurpg@pjrt@ysusuk@pauldraper@tanishiking@poslegmAn up-to-date list of contributors is available here: https://github.com/scalameta/scalafmt/graphs/contributors
We strive to offer a welcoming environment to learn, teach and contribute.
JProfiler generously supports scalafmt with its full-featured Java Profiler.
(top 30 of 167)
Scala
98.0%