Intellij code formatter settings

broken image

Use IntelliJ formatter for code range formatting: this option is selected by default. You will see that the list of tabs below the formatter field is changed.Ĭheck the following notable Scalafmt formatter options:

broken image
broken image

Switch the option in the Formatter field to Scalafmt. In the Settings dialog ( Control+Alt+S), go to Editor | Code Style | Scala.

broken image

You can enable Scala formatter in your project and configure the formatter settings. IntelliJ IDEA lets you integrate with Scalafmt formatter.

broken image