Setting up Code style for Eclipse

On Windows: Go to Window/Preferences/Java/Code style/Formatter

On Mac: Go to Eclipse/Preferences/Java/Code style/Formatter