Code Editors

Enterprise Architect provides a number of editors that you can use across the development environment to maintain scripts, code and templates. Each editor has its own features, but they are all based on a common Code Editor control.

Topics:

Topic

Detail

See also

Editors

The provided editors are:

Shape Script Editor*

Code Generation Template Editor*

Transformation Template Editor*

Custom SQL Search Filter Editor*

Database View Editor*

HTML Report Template Editor

Source Code Viewer*

Script Editor*

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 common Code Editor provides a variety of functions to assist with the code editing process, including:

Syntax Highlighting

Bookmarks

Cursor history

Brace matching

Automatic indentation

Commenting selections

Scope guides

Zooming

Line selection

intellisense

Find and Replace

Find in Files

A range of these functions is available through keyboard key combinations and/or context menu options

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

Additional information is provided in the Code Editor Configuration Guide, located as a PDF file in the Config directory under your Enterprise Architect installation directory