I am running Intellij Ultimate 10.5.2 on Ubuntu 11.10 x64. When working with any groovy source file (mostly in grails and griffon projects) the code formatter (using ctrl-alt-L) does not seem to respect my rules I have set up for spacing, etc for Java code. It appears to use the default format settings that Intellij comes with. I cannot find a specific setting for groovy in the code formatter settings so I assume it should inherit the Java one. Code formatting works fine (i.e. gets all the spacing how I like it) for any Java source files in the same project or other projects.
Am I missing something here when it comes to setting code formatting options for groovy?