Editor Language Properties
Using the 'Editor Language Properties' dialog, you can specify syntax highlighting properties for any of the programming languages that Enterprise Architect supports at installation.
In the 'Preferences' dialog, select the 'Source Code Engineering | Code Editors' option and click on the button next to 'Syntax Highlighting Options'.
Start> Desktop > Preferences > Preferences, select 'Source Code Engineering | Code Editors' option > click on the button next to 'Syntax Highlighting Options'
In the Code Editor window, click on the toolbar icon | Syntax Highlighting Options
The panel on the left of the dialog lists the languages for which you can set properties.
At the top of the list are three non-language options:
Click on the required language in the list, to display the properties for that 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 ().
When you click on a property name, an explanation of that property displays in the panel at the bottom right of the dialog.
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 button displays (as described for the 'Tags' tab of the Properties window) so that you can select the values to define the property.
Select or type in the required values.
Use the Toolbar icons to:
|Modify Tagged Values
Assign Keys to Macros
In the 'Macros' category of the properties, you can assign (Ctrl+Alt+<n>) keystroke combinations to coding macros that you have created yourself in the 'Source Code Viewer'.
When you click on the 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 to assign the selected keys to the macro.
|Code Editor Toolbar
- You cannot currently set properties for any additional languages you include through an MDG Technology
- You can resize this dialog, if required