• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

any tool to check source code for sun's good practices?

 
fei lin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
such as no tabs, no lines if longer then 80 characters long? i use eclipse and currently eclipse use tab, anyway to fix all of them?

Thanks
 
Alex Belisle Turcot
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by fei lin:
such as no tabs, no lines if longer then 80 characters long? i use eclipse and currently eclipse use tab, anyway to fix all of them?

Thanks


Hi,

- You can set Eclipse to use "spaces" insteads of tabs.. In the same set of Dialog where you set the maximum number of characters allowed.
- You can also use Checkstyle which will raise warnings.

Alex
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic