Intellij code style linewrap braceless if
Answered
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!
Please sign in to leave a comment.
Hi Wdv50jkc,
You can uncheck the following box in File | Settings | Editor | Code Style | Java > 'Wrapping and Braces' tab: