Saturday, January 22, 2011

Change code format in eclipse

Open Preferences window (Window -> Preferences)
It will open window like this



Then Click on New.. button
It will open window like this



Now you can create your own profile
Give a name to profile and press Ok button




Now you can create your own format, then press Ok button,
Then it will go to Preferences window and select your profile in Active-profile combo box



Then click on Apply button and press Ok