Book a Demo

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

Prev Next

Options - Code Editors

You access the source code editor options via the 'DDL' page of the 'Preferences' dialog. On this page you can configure options for Enterprise Architect's internal editor, as well as the default editor for DDL scripts. You can configure external editors for code languages on each language options page.

Access

On the 'Preferences' dialog, select the 'Source Code Engineering > Code Editors' option.

Ribbon

Start > View > Preferences

Keyboard Shortcuts

Ctrl+F9

Options

Option

Action

See also

DDL Editor

Defaults to blank, indicating that the Enterprise Architect code editor is the DDL editor in use.

You can select a different default editor if necessary; click on the Browse. button to browse for and select the required DDL editor. The editor name then displays in the 'DDL Editor' field.

Data Modeling Settings

Default Database

Click on the drop-down arrow and select the default database to be used.

MySQL Storage

Click on the drop-down arrow and select the MySQL storage engine to be used.

Use inbuilt editor if no external editor set

Select the checkbox to use the inbuilt editor for code in any language if no external editor is defined for that language in the user-specific options.

Language Options

Show Line Numbers

Select the checkbox to display line numbers in the editor.

Show Structure Tree

Select the checkbox to show a tree with the results of parsing the open file (if the file is parsed successfully).

Automatically Reverse Engineer on File Save

If you select this checkbox, pressing Ctrl+S to save in the source code editor automatically reverse engineers the code in the same way as the Save Source and Re-Synchronize Class button does.

Don't parse files larger than

Click on the drop-down arrow and select the upper limit on file size for parsing.

Setting this option prevents performance decrease due to parsing very large files.

Syntax Highlighting Options

Click on the Browse. button to display the 'Editor Language Properties' dialog, in which you can set both global and language-specific editor language properties.

Editor Language Properties

Configure Enterprise Architect File Associations

Click on the Browse. button to display the 'Set Associations for a Program' dialog, and select the file extensions for files that you want to open through the Enterprise Architect Document Handler.

Configure File Associations