groovy-eclipse
groovy-eclipse copied to clipboard
Formatter does not inherit whitespaces settings from Java fromatter
I have Java formatter settings which should format the following:
def dummyMethod() {
def doIt=false
if(doIt) {
return null
}
}
into:
def dummyMethod() {
def doIt = false
if (doIt) {
return null
}
}
However, when I run format on the groovy file it does not add the additional spaces defined by formatter. It works perfectly for Java files.
Also multiple whitespaces are not collapsed into one space:
final def userClone = (UserData) user.clone()
^^