If statement with no braces but on 2 lines

已回答

I can't seem to find an option to force if statements to follow the below format:

 

if(true)

    doStuff()

Any help would be appreciated. I currently have it so it's without braces and will keep the formatting for white space so it won't change but I'd love to have it set to that formatting.

0

Hello. Do you need it for Java code?

0

请先登录再写评论。