Try this one. This worked for me.
With the Java Formatter (Windows > Preferences > Java > Code Style > Formatter), you can create a new Formatter profile from existing and then edit it.
If Eclipse doesn't allow to save this then create a new one and save in that.