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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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