EclipseCodeFormatter icon indicating copy to clipboard operation
EclipseCodeFormatter copied to clipboard

Eclipse Code Formatter does not run against groovy files.

Open Bigguy34 opened this issue 9 years ago • 4 comments
trafficstars

Currently I have everything in the Eclipse Code formatter configured properly. I have the text box next to the Format other file types by IntelliJ with this exception empty(and that radio button is selected). The problem is that when I run the Reformat Code action. I get this output from the IDE. formatted successfully by Eclipse code formatter But when I run the same thing in the groovy file I get this. formatted successfully by IntelliJ code formatter Is this a bug or operator error? Is there some special setting I need to change? I do have IntelliJ 2016.1 installed if that matters or not.

side note: Because the formatter doesn't run there isn't any debugger output.

Bigguy34 avatar Jun 10 '16 22:06 Bigguy34

It is a feature. Afaik Eclipse cannot format Groovy without some plugin.

krasa avatar Jun 10 '16 22:06 krasa

Haters gonna hate, I might play around with the source if I get time this weekend, I really need this plugin otherwise I may be forced to use eclipse.

Bigguy34 avatar Jun 10 '16 22:06 Bigguy34

Well, first thing you need to do is find the jar which can format it, and try to use it outside the Eclipse platform, for example XML formatter is impossible to use standalone.

krasa avatar Jun 10 '16 23:06 krasa

@Bigguy34 Did you get any solution for formatting groovy files?

mglittleworld avatar Sep 19 '16 14:09 mglittleworld