• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

checkstyle

 
pramod karnani
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All,

should we use tool Checkstyle to confirm that the code we have written confirms to the Sun coding statndards?


Regards,
Pramod
 
dharmendra gahlot
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, checkstyle is really great. It's helpful for maintain project quality.
You can check project for Sun Coding Standards or check Standards as according your requirements by configuring Standards.
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi pramod,

Here you can find my opinion/experience about some other tools to check your code (style).

Kind regards,
Roel

 
Yucca Nel
Ranch Hand
Posts: 147
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can not recommend any tool as I use netbeans and I use the code completion tool that is great... it assigns variables with a default camelCase which is usualy made up of the reference type and allows a lot of flexibilty eg:

Customer < we have a customer
type in my and hit <ctrl>+<sace> (oneAction) it suggest myCustomer, myCust as variable names.... never fails me
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic