The Scala plugin compatible with recent versions of IntelliJ IDEA has built-in support for Scalafmt. 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. Run scalafmt from your editor, build tool or terminal. Scalafmt has integrations with IntelliJ, sbt, Maven, Gradle and Mill. Choose the scalafmt formatter and IntelliJ's Reformat Code action will then use Scalafmt when formatting files. Scalafmt is primarily designed to operate on entire text files—formatting selected ranges of code may produce undesirable results. For this reason, IntelliJ uses its own formatter for ranges by default. It is not recommended to change this, and is instead recommended to format files when saving.

Features

  • You can use the Metals language server to format code with Scalafmt in VS Code
  • Use the Metals language server to format code with Scalafmt in Vim and NeoVim
  • You can use the Metals language server to format code with Scalafmt in Emacs
  • Fo format code with Scalafmt in Sublime Text
  • Code formatter for Scala
  • Scalafmt formats code so that it looks consistent between people on your team
  • Integrated with your toolchain

Project Samples

Project Activity

See All Activity >

Categories

Code Formatters

License

Apache License V2.0

Follow scalafmt

scalafmt Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of scalafmt!

Additional Project Details

Operating Systems

Windows

Programming Language

Scala

Related Categories

Scala Code Formatters

Registered

2023-04-25