Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

How to force braces onto the next line

$
0
0

Is there some combination of settings that would allow the auto formatter to put braces on new lines for things like if/while/for/try/etc?

 

No matter what I do or set, braces are put on the same line as the opening conditional and not on the next line. Braces for things like classes and methods go to the next line, but other things don't.

 

I'm probably in the minority in liking things to be formatted that way, but nevertheless.

 

If it's not possible, is there a decent (and recent) external formatter that's more configurable? Do I have to also install eclipse to use it as  formatter or is there a better way?


Viewing all articles
Browse latest Browse all 5661

Trending Articles