NetBeans Java code formatter: logical operators on new line
- by mizipzor
My code looks like this:
if (firstCondition() &&
secondCondition()) {
// ... code
}
The default settings for the code formatter in NetBeans wants to put the && on a new line, like this:
if (firstCondition()
&& secondCondition()) {
// ... code
}
The formatter works well so I would just like to find the setting so it doesnt change the code to the latter. Whats the setting called?