Landon Kuhn
Landon Kuhn

Reputation: 78491

i would love to know what this annoying feature of IDEA is --- so that I can turn it off

Code can explain this better than I can:

// how do i make IntelliJ IDEA *stop doing this* to my code?

case class Person(
                   name: String,
                   age: Int,
                   gender: Gender
                   )

                   // it's annoying!

Upvotes: 2

Views: 294

Answers (1)

swartzrock
swartzrock

Reputation: 729

This is a code style setting, just disable it in the prefs:

Code Style -> Scala -> Wrapping and Braces -> Method declaration parameters -> Align when multiline.

Upvotes: 10

Related Questions