How to change brace position in IntelliJ IDE?
I am using the IntelliJ IDEA ide for java coding. By default it produces curly braces on the same line as the function name, like so:
function bla() {
..
}
Can i change it somewhere there so that i will do this instead?:
function bla()
{
..
}
Thanks!
From the IntelliJ documentation:
Go to the menu File | Settings | Project Settings | Code Style - Java. Select the 'Wrapping and braces' tab. Set 'Braces placement options' to 'Next line'.
Here is the exact working path. I have added screenshot with explanations.