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!
Answer
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’.
Attribution
Source : Link , Question Author : user3595338 , Answer Author : tcmb