How to change indentation style?

已回答

The default indentation style in IntelliJ is 1TBS, but I prefer the hirstman style. Is it possible to change the style?

For example, I want my curly braces start in a new line.

if (x > 18)
{
    x += 1 ;
}

0

Hello,

You could configure braces placement in "File | Settings | Editor | Code Style | Java - Wrapping and Braces - Braces placement"

1
Avatar
Permanently deleted user

Thank you!

0

You are welcome!

0

请先登录再写评论。