Custom code formatter which I use for Java in Eclipse. Formatter is located in Preferences -> Java -> Code Style -> Formatter.
Instructions:
- navigate to Formatter view in preferences
- click a choosen formatter
- click Edit button
- click Export button
- run sortFormatter.sh script
Instructions:
- navigate to Formatter view in preferences
- click Import button
- select a formatter flie from a file system
Custom templates which I use for Java in Eclipse. Templates are located in Preferences -> Java -> Editor -> Templates.
Instructions:
- navigate to Templates view in preferences
- click a choosen template
- click Export button
- run normalize.sh script
Instructions:
- navigate to Templates view in preferences
- click Import button
- select a choosen template from a file system
More useful templates can be found here: http://stackoverflow.com/questions/1028858/useful-eclipse-java-code-templates