Groovy Eclipse Autoformat?

Using Eclipse 3.6 and Groovy 2.0.1.20100319-1100-e35-RELEASE, autoformat does nothing. That is, Groovy Source > Formatdoes nothing for this file .

Any thoughts?

+3
source share
1 answer

You run Groovy -Eclipse for Eclipse 3.5 in Eclipse 3.6, so it is broken. I am surprised that you can even install it. You need to install the Groovy -Eclipse snapshot version for version 3.6. Only zip file available:

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

Download the archive and point your p2 installer to zip. You can install stream 3.6 from Groovy -Eclipse. Formatting follows.

, ( , ).

+4

Source: https://habr.com/ru/post/1741373/