Can anyone provide feedback on the two eclipse plugins http://checkstyle.sourceforge.net/ for checking soure conforms to Sun conventions?
Cheers,
Simon [ October 02, 2006: Message edited by: Simon Cockayne ]
SCJP 1.4 (93%)<br />SCJD (In progress. It can run, but it can't hide...)
Mihai Radulescu
Ranch Hand
Joined: Sep 18, 2003
Posts: 912
posted
0
Hi, I also use it and I find it very usefull.
Regards M.
SCJP, SCJD, SCWCD
Simon Cockayne
Ranch Hand
Joined: Dec 09, 2000
Posts: 214
posted
0
Which one do you use?
Vairoj Arunyaangkul
Greenhorn
Joined: Sep 23, 2006
Posts: 9
posted
0
I personally use Eclipse Checkstyle Plugin (http://eclipse-cs.sourceforge.net/) at work. I find it useful to enforce coding standard. [ October 04, 2006: Message edited by: Vairoj Arunyaangkul ]
Mihai Radulescu
Ranch Hand
Joined: Sep 18, 2003
Posts: 912
posted
0
Hi Simon,
I use the checkstyle(4.1.1) , If you are intereted I can provide on of my configuration file(you can import it).
Regards M.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Do you know if it checks for spaces and not tabs for indentation?
Simon
Simon Cockayne
Ranch Hand
Joined: Dec 09, 2000
Posts: 214
posted
0
Mihai, Kameron,
Do you know if it checks for spaces and not tabs for indentation?
Simon
Johnny Sutherland
Greenhorn
Joined: Oct 05, 2006
Posts: 1
posted
0
Yes - it checks that spaces are used. It is not happy if tabs are used or if the line of code has a space on the end. Max line length is 80 - including spaces. (I'm writing about checkstyle here). [ October 05, 2006: Message edited by: Johnny Sutherland ]