EclipseCodeFormatter
EclipseCodeFormatter copied to clipboard
Eclipse Code Formatter does not run against groovy files.
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.
It is a feature. Afaik Eclipse cannot format Groovy without some plugin.
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.
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.
@Bigguy34 Did you get any solution for formatting groovy files?