Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.05 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.05 KB

Configuration for Eclipse (Java)

Code formatter

Custom code formatter which I use for Java in Eclipse. Formatter is located in Preferences -> Java -> Code Style -> Formatter.

Export

Instructions:

  • navigate to Formatter view in preferences
  • click a choosen formatter
  • click Edit button
  • click Export button
  • run sortFormatter.sh script

Import

Instructions:

  • navigate to Formatter view in preferences
  • click Import button
  • select a formatter flie from a file system

Templates

Custom templates which I use for Java in Eclipse. Templates are located in Preferences -> Java -> Editor -> Templates.

Export

Instructions:

  • navigate to Templates view in preferences
  • click a choosen template
  • click Export button
  • run normalize.sh script

Import

Instructions:

  • navigate to Templates view in preferences
  • click Import button
  • select a choosen template from a file system

More templates

More useful templates can be found here: http://stackoverflow.com/questions/1028858/useful-eclipse-java-code-templates