Having trouble with eclipse's formatter, it's supposed to be according to Sun's conventions but doesn't pass checkstyle, which is also set to Sun's conventions. Anyhat, what do you guys use?
Alex Belisle Turcot
posted 10 years ago
I modified eclipse formatter options to do it exactly the way I want : - 80 caracters per line - blank line before the 1st member in classes...
Also, Checkstyle checks more than what the Eclipse formatter does I believe.Their scope are different.
For instance, checkstyle will tell you that your variable name is not correct, or that you should use a keyword in a specific situation. Eclipse, will only put the right tabulation.
I use both.
I have a question though. Checkstyle keeps telling me that my methods should have final arguments. is that something I should really do ? It also bugs me with the order of keywords "final public static" Is that important also ?