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
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
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