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

Compare Editors

Topic under construction

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 have the same display format, option toolbar, context menu options and internal function keys. They differ in their method of access and display mechanism.


Editor Variant

Function Key/ Menu Option


Source Code Viewer window


View | Source Code

Displays the contents of the source file for a selected Class (except if the language is C++, when there are two tabs for the Header file and Implementation file)

If you select a different Class, the two tabs change 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



Class context menu | View Source Code

Displays the code on tabs of the Diagram View; the tabs have the file extensions (such as .h and .cpp)

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

External Source Code


Tools | Open Source File

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

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

External Editor

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, where you can open them in Notepad or Visual Studio or another selected tool