Code Editors

Enterprise Architect provides a number of editors that you can use to maintain scripts, code and templates. Specifically, these are the:

Each editor has its own features, but they are all based on a common Code Editor control.

You can have several code editors (or files within a code editor) open at the same time, as separate tabs in the central view area of the Enterprise Architect work area. You can also close the editors individually or all together, leaving views of other types (such as diagrams or RTF reports) still open.

The Code Editor provides a variety of functions to assist with the code editing process, including:

A range of these functions is available through keyboard key combinations and/or context menu options; see the Code Editor Key Bindings and Code Editor Context Menu topics.

You can customize several of the Code Editor features by setting properties in the Code Editor configuration files. For example, by default the line containing the cursor is always highlighted, but you can turn the highlighting off. For more information see the Code Editor Configuration Guide, located as a PDF file in the Config directory under your Enterprise Architect installation directory.