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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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