aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Source checker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Source checker" Watch "Source checker" New topic
Author

Source checker

Simon Cockayne
Ranch Hand

Joined: Dec 09, 2000
Posts: 214
Hi,

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: 916

Hi,
I also use it and I find it very usefull.

Regards M.


SCJP, SCJD, SCWCD, OCPJBCD
Simon Cockayne
Ranch Hand

Joined: Dec 09, 2000
Posts: 214
Which one do you use?
Vairoj Arunyaangkul
Greenhorn

Joined: Sep 23, 2006
Posts: 9
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: 916

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

Joined: Aug 26, 2006
Posts: 4968
    
    1

http://eclipse-cs.sourceforge.net

Checkstyle works for me.

-Cameron
[ October 04, 2006: Message edited by: Barry Gaunt ]
Simon Cockayne
Ranch Hand

Joined: Dec 09, 2000
Posts: 214
Mihai, Kameron,

Do you know if it checks for spaces and not tabs for indentation?

Simon
Simon Cockayne
Ranch Hand

Joined: Dec 09, 2000
Posts: 214
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
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 ]
Simon Cockayne
Ranch Hand

Joined: Dec 09, 2000
Posts: 214
Cheers, Johnny.
Simon Cockayne
Ranch Hand

Joined: Dec 09, 2000
Posts: 214
Hi all,

So I am trying out the Eclipse plugin:

It's simple to install...

http://eclipse-cs.sourceforge.net/

...and it seems to do the job.

Cheers,

Simon
 
 
subject: Source checker