Ports Eclipse Luna (4.4) Java formatter as a plugin to be used in newer Eclipse versions.
Starting from Eclipse Mars (4.5) Java formatter was rewritten not being possible to format using old style, this can be problematic for projects using old formatting.
Original plugin can be found here.
- Drop
OldJavaFormatter_xxx.jarin youreclipse/dropinsdirectory - Start Eclipse
- Open
Preferences > Java > Code Style > Formatterand selectOld Luna Java FormatterasFormatter Implementation
- Import as Eclipse project
- Build jar:
File > Export... > Deployable plug-ins fragments