Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Editor Language Properties

Enterprise Architect enables you to specify syntax highlighting properties for all the programming languages that Enterprise Architect supports at installation.

Access     Tools | Options | Source Code Engineering | Code Editors: Syntax Highlighting Options (...)
                  Project Browser element context menu | View Source Code: code_Options | Syntax Highlighting Options

Use to

Configure Syntax highlighting for various coding languages


On the Editor Language properties dialog:



See also

General Features

The panel on the left of the dialog lists the languages for which you can set properties.

The (Global) item at the top of the list enables you to set properties that apply to all programming languages; however, you can reset a global property to a different value for a specific language, on the page for that language.

Resetting a global property for one language does not affect that property's value for the other languages.

Click on the required language in the list, to display the properties for that language:

Properties shown in bold indicate that this is the highest level at which this property can be defined (for most language options other than Global, this is effectively the only point at which the property is defined)
Properties shown in normal font are generally the global properties that you can reset just for the current language


Scroll through the property categories and individual properties for the language; you can collapse and expand categories as necessary, using the expansion box next to the category name (expansionbox).

When you click on a property name, an explanation of that property displays in the panel at the bottom right of the dialog.



Define Properties

To define a property, click on the value field following the property name; depending on the type of property, either the field is enabled for direct editing or a drop-down arrow or Browse button displays (as described for the Tagged Values window) to enable you to select the values to define the property.

Select or type in the required values.

The Toolbar icons enable you to:

Save your changes to the properties
Reset ALL properties fields to the default settings shipped with Enterprise Architect
Reset the current style field to the default setting (not enabled for non-style fields)


Tagged Values

Assign Keys to Macros

The Macros category enables you to assign (Ctrl+Alt+<n>) keystroke combinations to coding macros that you have created yourself in the Source Code Viewer.

When you click on the Browse button in a selected Macro field, the Open Macro dialog displays; this dialog lists the existing macros and, if a key combination has been assigned to a macro, what that key combination is.

Click on the name of the macro and on the Open button to assign the selected keys to the macro.


Source Code Viewer


You cannot currently set properties for any additional languages you include through an MDG Technology
You can resize this dialog, if required

Learn more

Function Details (Syntax Highlighting)