Groovy Code Style

I'm wondering which code style IntelliJ uses for reformatting Groovy code. I'm personally kinda picky about curly braces and while some of them (for classes and methods) seem to be inherited from the java code style, some aren't. Would be nice to get some clarification on that.

Comment actions Permalink

The status is precisely what you wrote. Some settings are inherited from
Java, some are not. It's kinda intermediate state (a long-running one).
I personally believe that as much as possible should be inherited from
Java. If you agree and see any place where it's not, report such place.
If you disagree, please tell about it as well.

Comment actions Permalink

Erm, one would think that the solution is pretty obvious. Groovy needs its own code style settings.


Please sign in to leave a comment.