Intellij code style linewrap braceless if
已回答
How do I set the Java code style to insert line breaks into braceless if statements? like this:
if (condition) doSomething();
==>
if (condition)
doSomething();
Thank you!
请先登录再写评论。
Hi Wdv50jkc,
You can uncheck the following box in File | Settings | Editor | Code Style | Java > 'Wrapping and Braces' tab: