Pages

Saturday, September 14, 2013

How to format code in Eclipse

Step 1:
---------
  • Highlight the part of code you wish to format
  • Click Ctrl-Shift-F to format the code

Step 2:
--------
  •  Highlight the part of code you wish to format
  • Go to Source tab beside Edit tab in eclipse and select Format

 Step 1 is just a key board Shortcut:)

No comments:

Post a Comment