Yes, we agreed to an order. I don't know about IDEA, but I think they have the ability
to do the same.
The order agreed to was:
STATIC IMPORTS FIRST - java, javax, org, com (in that order)
NON-STATIC IMPORTS NEXT - java, javax, org, com (in that order)
I assumed there was already a checkstyle rule in place for this.
----- Original Message -----
Hi Mazz,
While I can remember some basic discussion about the order Java imports,
I do not remember at all what was the result.
I saw that you added Eclipse prefs for import order to dev tools which
is definitely good
https://github.com/hawkular/hawkular-build-tools/blob/master/ide-configs/...
Do Idea prefs contain the same settings?
Are there projects using these settings consequently?
But did we say we would enforce the imports order by checkstyle?
They have a rule for that:
http://checkstyle.sourceforge.net/config_imports.html#ImportOrder
Its a pity that we have not done it earlier.
Thanks,
Peter