Importing APEX Code Style in NetBeans

NetBeans supports importing settings bundled in a zip.

##To import Apex code style

  1. On the main menu, choose NetBeans | Preferences.
  2. In the Options dialog, click on Editor | Formatting.
  3. Select the language as Java in the Language dropdown.
  4. Export the current settings for backup.
  5. Click on the ‘Import’ button which is at the bottom-left corner.
  6. In the Select Options To Import dialog box that opens select the .settings/ as the import source.
  7. Only formatting options are included which will be selected by default so click on OK.
  8. In the Import Confirmation dialog click on OK which will restart NetBeans.