Home

 

Code style and formatting

The Java editor in the Workbench can be configured to format code and coding style in conformance to personal preferences or team-defined standards. When setting up the Workbench, you can decide what formatting style should be applied to the Java files created using the wizards, as well as how the Java editors operate to assist what has been defined.

Important: Working in a team environment requires a common understanding between all the members of the team regarding the style of coding and conventions such as class, member, and method name definitions. The coding standards have to be documented and agreed upon to ensure a consistent and standardized method of operation.

ibm.com/redbooks