I find it a little annoying that every new Grails project is polluted with inconsistent use of tabs/spaces right from the start.
A quick look at the different files shows the inconsistency:
4 spaces
logback.groovy
Bootstrap.groovy
misc templates (Domain, Service, Controller etc)
Mix of 2 and 4 spaces
build.gradle
application.yml
Tabs
application.js
errors.css
mobile.css
main.gsp
error.gsp
index.gsp
Mix of tabs and 4 spaces
main.css
UrlMappings.groovy
It looks like most new files are using 4 spaces. Should that be the default?
Best Regards,
Ronny Løvtangen