Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document describes how to configure code formatting in eclipse. Note, each workspace you use must be configured independently to reuse these settings.

 

Java files

Java file formatting is configured via Window->Preferences, Java->Code Style->Formatter. The following attachment can be loaded by using the "Import" feature of the formatter.

 

Javadoc method->comment replacements is configured via Window->Preferences, Java->JAutodoc. The following attachment can be loaded by using the "Import" feature of the configuration screen.

 

Use Java->JAutodoc->Templates to configure the jautodoc templates. The following attachment can be loaded by using the "Import" feature of the templates configuration screen

Javascript Files

Javascript formatting is configured via Window->Preferences, Javascript->Code Style->Formatter.  The following attachment can be loaded by using the "Import" feature of the formatter.

XML Files

HTML file formatting is configured via Window->Preferences, XML->XML Files->Editor. The following shows a screenshot of how XML formatting should be configured.

...