Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Source checker

 
Simon Cockayne
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I also use it and I find it very usefull.

Regards M.
 
Simon Cockayne
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which one do you use?
 
Vairoj Arunyaangkul
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://eclipse-cs.sourceforge.net

Checkstyle works for me.

-Cameron
[ October 04, 2006: Message edited by: Barry Gaunt ]
 
Simon Cockayne
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mihai, Kameron,

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

Simon
 
Simon Cockayne
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mihai, Kameron,

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

Simon
 
Johnny Sutherland
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cheers, Johnny.
 
Simon Cockayne
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic