Synchronization Macros

The synchronization macros are used to provide formatting hints to Enterprise Architect when inserting new sections into the source code, during forward synchronization. The values for synchronization macros must be set in the File templates.

The structure for setting synchronization macros is:

%<name>=<value>%

 

where <name> can be one of the macros listed below and <value> is a literal string enclosed by double quotes.

Macro Name

Description

synchNewClassNotesSpace

Space to append to a new Class note. Default value: \n.

 

synchNewAttributeNotesSpace

Space to append to a new attribute note. Default value: \n.

 

synchNewOperationNotesSpace

Space to append to a new operation note. Default value: \n.

 

synchNewOperationBodySpace

Space to append to a new operation body. Default value: \n.

 

synchNamespaceBodyIndent

Indent applied to Classes within non-global namespaces. Default value: \t.