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

Compare Editors

Enterprise Architect provides four principal code editor variants, available through a number of access paths. The most direct access options are identified in the descriptions below.

The first three code editor variants listed have the same display format, option toolbar, context menu options and internal function keys. They differ in their method of access and display mechanism.

Reference

Editor Variant

Function Key/ Menu Option

Description

Source Code window (Dockable)

Alt+7

View | Source Code

Displays the contents of the source file for a selected Class (except if the language is C++, when the window displays a tab for the Header file and a tab for the Implementation file).

If you select a different Class, the window changes to show the code for the new Class (unless the first Class calls the second, in which case the window scrolls down to the second Class's code instead).

 

Source Code View

F12

Ctrl+E

Class context menu | View Source Code

Displays the code on a tab of the Diagram View; the tab label shows the file name and extension (such as .java); again, for C++, there are two tabs for the Header and Implementation files.

You can display the source code for other Classes on additional tabs, by reselecting the menu option/keys on the next Class.

 

Internal Editor, External Source Code

Ctrl+Alt+O

Tools | Open Source File

Use this option if you intend to edit external code, XML or DDL files (that is, code not imported to or generated in Enterprise Architect).

Displays an external browser, then opens the specific selected code file as a tab  of the Diagram View (for C++, not two code files); otherwise this is identical to the F12 option.

 

External Editor, Internal or External Source Code

Ctrl + Alt + Y

Class context menu | Open Source Directory

Displays an external file browser, open to the directory containing the selected Class's source files; you can open the files in Notepad, Visual Studio or other tools you might have on your system.

Learn more