Enterprise Architect provides a number of editors that you can use to maintain scripts, code and templates. Specifically, these are the:
- 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*
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:
- Syntax Highlighting
- Cursor history
- Brace matching
- Automatic indentation
- Commenting selections
- Scope guides
- Line selection
- File Search.
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.