I tried the Eclipse code formatter Eclipse code for-matter to format Java code for my web project requirement. Now I am looking for something similar for Groovy. Can any one tell me how do the same for Groovy as well?
No syntax highlighting is so glum...!
Aaron D's recommendation to use the Eclipse Marketplace didn't work for me: versions out of date it seems, installation attempts failed. This is what worked for me (Neon, then Oxygen a few months later)
update 2019-08, Eclipse version 4.12 ("2019-06")
At this point there is no "Groovy-Eclipse" item to highlight/choose! My experiments seem to show that in the "Install" dialog you have to check the "Main package" and the "Maven support" thing.
OTOH it seems that .gradle files then work with this editor out of the box, no config needed.
Thanks for making it a little bit more confusing and less self-explanatory, guys!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With