BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. HTML5 Canvas
  2. Ruby
  3. iPhone/iPad
  4. Spring Web Flow
  5. REST
  1. jQuery Selectors
  2. Spring Config.
  3. Java
  4. Ajax
  5. Java Concurrency

Link Details

Link 319763 thumbnail
User 533753 avatar

By lordbii
via eclipseone.wordpress.com
Published: Dec 16 2009 / 03:25

Every time you save a class Eclipse can automatically format your code and clean it up. You can ask Eclipse to do things like format code, organise imports, add @Override annotations, add final modifiers to fields, put braces around one line if statements/loops and more. Huge timesaver.
  • 10
  • 0
  • 2522
  • 4

Comments

Add your comment
User 304420 avatar

Eddie Dealtry replied ago:

0 votes Vote down Vote up Reply

Will try 'Format edited lines' only to avoid repo differences

User 533753 avatar

Byron replied ago:

0 votes Vote down Vote up Reply

I agree, if either each team member is using his own formatting rules or your team's coding standards aren't fixed yet or there's a lot of legacy code not on the new coding standards, then it might be better to start off with Format edited liines for now.

I'm planning a post in the near future on easily sharing workspace settings across the team such as formatting, clean up and compiler settings (eg. warnings) to help with this. So stay tuned.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)