Skip to main content

“Intro to Eclipse” Exercises

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 (In Windows 7, it is

Ctrl+Shift+F and in

Mac Os X, it is Cmd-F)


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.