Can I change Groovy Language format / indent to make this work?
if (flag) {
println "GOOD";
} else {
println "BAD";
}
Currently, after I click “Auto Indent”, it will be like this:
if (flag) {
println "GOOD";
} else {
println "BAD";
}
But if I leave the “else” on its own line, then it seemed to be OK:
if (flag) {
println "GOOD";
}
else {
println "BAD";
}