Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Groovy Eclipse Autoformat?

Using Eclipse 3.6 and Groovy 2.0.1.20100319-1100-e35-RELEASE, auto-format does nothing. That is, for a given groovy file, Source > Format does nothing.

Any thoughts?

like image 499
Stefan Kendall Avatar asked Dec 07 '25 15:12

Stefan Kendall


1 Answers

You are running Groovy-Eclipse for Eclipse 3.5 in Eclipse 3.6, so that is why it is broken. I'm surprised that you are even able to install it. You need to install a snapshot version of Groovy-Eclipse for 3.6. Only available viz zip file:

http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e3.6/

Download the archive and point your p2 installer to the zip. You can install the 3.6 stream of Groovy-Eclipse. Formatting should then work.

If you are still having problems, then look at your error log and post any relevant exceptions here (but, I'm guessing that everything should be fine).

like image 111
Andrew Eisenberg Avatar answered Dec 11 '25 03:12

Andrew Eisenberg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!