Reputation: 1587
The current indentation looks like this for the case class Foo but I'd like the indent for a
and b
to be 2 spaces indented from the beginning of the previous line like so
case class Foo(
a: Int,
b: Int
)
Is this possible? Where in the settings for Intellij is that?
Upvotes: 2
Views: 1989
Reputation: 13985
You need to change following preferences in IntelliJ. Uncheck the one pointed by red arrow (Align when multiline
) and check the one pointed by green (Use normal indent for parameters
).
Now idea will use "normal indent" for parameters, so you need to check what your normal indent scheme is.
Upvotes: 3