You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@groovy.apache.org by "Tx. T" <tx...@yahoo.com> on 2017/04/03 14:20:44 UTC

Eclipse Groovy Formatter

is there any setting in Eclipse to format / indent this groovy code like how the java code is formatted / indented ?

cli = new CliBuilder(width : 108,usage : "${name} [options] ...",header: "${name} description\n",footer: "\nexample: ${name} ...")

to: 

cli = new CliBuilder(width : 108,                     usage : "${name} [options] ...",                     header: "${name} description\n",                     footer: "\nexample: ${name} ...")