Scalafmt

Scalafmt

  • Docs
  • GitHub

ScalafmtCode formatter for Scala

Get started

Focus on what matters

Spend more time discussing important issues in code review and less time on code style. Scalafmt formats code so that it looks consistent between people on your team.

Integrated with your toolchain

Run scalafmt from your editor, build tool or terminal. Scalafmt has integrations with IntelliJ, sbt, Maven, Gradle and Mill.

Scalafmt
Docs
InstallationConfigurationContributing
Community
Join on DiscordChat on Gitter (defunct)
More
GitHub
Copyright © 2025 Scalafmt