Skip to main content
Banner graphic with text description of the course website

“Intro to Eclipse” Exercises

LAB #01 Exercise #6: Learning How to Reformat Source Code to Follow the Style Guidelines



The app that was contained with the archived project ran ok, but clearly the formatting is not well done.

Pasted Graphic

To fix this, select Source -> Format. LEARN THE KEYBOARD SHORTCUT (max os x shown below, so you need to find and learn the windows keyboard shortcut)


Pasted Graphic 1


WONDERFUL!!! Eclipse properly formats the code FOR YOU!!!!!!!

Pasted Graphic 2

ALL of your code for this course must be properly formatted.