I'm wondering if someone can share 100% SUN compliant Eclipse formatter and checkstyle configurations ( 100% stands for configuration that was good enough to pass SUN tests ;-) )
I search forum and collect a bit contradictory information: there are posts where people claim built-in Eclipse formatter is doing his job on the other hand there are completely opposite opinions.
I created my own SCJD formatter based on the Eclipse built-in formatter. I made the changes according to the coding conventions mentioned in the SCJD book by Andrew Monkhouse.
About using tools for checking your code I didn't use any of them before submitting my assignment, afterwards I tried a few of them. My experiences can be read here.
I don't know. I just kept the scjd-projects but I didn't kept a copy of the formatter settings, so I have no idea of the changes I made against the built-in eclipse formatter. But I do think it's not really important if you apply 1 blank line or 2 between package and import statements,... but just use it consistent on every source file. the only thing i can remember is that I chose to use spaces for identation (instead of tabs) and that i kept the 80 chars per line.