1

The default Scala style in IntelliJ often will begin my newlines at a non-recommended location with too many indents/spaces. An example is outlined below:

default scala styling intellij

How might I configure my Scala plugin or IntelliJ styling to indent my case classes like below, when I hit enter. Example below:

correct scala styling

If I were to obey the default Scala plugin conventions I will get:

Incorrect styling case class indentiation

Joyoyoyoyoyo
  • 165
  • 1
  • 3
  • 18

0 Answers0