tree: 1e3d6c15ae52026d66652d94f902ac070e9ee6c1 [path history] [tgz]
  1. apex-importorder.importorder
  2. apex-style.xml
  3. README.md
misc/ide-templates/eclipse/README.md

Importing APEX Code Style in Eclipse

For Eclipse there are 2 configuration files

  1. apex-style.xml : this contains Java formatter settings.
  2. apex-importorder.importorder : this specifies the accepted import order for Apex projects.

##To import Apex format style

  1. On the main menu, choose Eclipse | Preferences.
  2. Go to Java | Code Style | Formatter and click on ‘Import’.
  3. In the Import Profile dialog box that opens select the apex-style.xml.
  4. Apply the changes.

##To import Apex import order

  1. On the main menu, choose Eclipse | Preferences.
  2. Go to Java | Code Style | Organize Imports and click on ‘Import’.
  3. In the Load Import Order from File dialog box that opens select apex-importorder.importorder.
  4. Apply the changes.