The Internal code editor When you choose to edit code, Rational Rhapsody launches the internal code editor. This editor has a wide range of features to assist with editing. Unlike external editors, the Rational Rhapsody internal code editor provides dynamic model-code associativity (DMCA). The DMCA feature of Rational Rhapsody enables you to edit code and automatically roundtrip your changes back into the model. It also generates code if the model has changed. If you use an external editor, DMCA will no longer be available. Window properties The Window Properties window enables you to customize the Rational Rhapsody internal code editor window.
Note that these window properties are completely separate from Rational Rhapsody project properties. To open the window, right-click anywhere within the editor window and select Properties . Alternatively, press Alt+Enter on the keyboard. You can customize this shortcut using the Keyboard tab on the Window Properties window. The window contains the following tabs: Љ Color/Font Љ Language/Tabs Љ Keyboard Љ Misc The following sections describe how to use these tabs in detail. The Color/Font tab The internal code editor highlights syntax elements for easy editing. The default color settings follow standard code editing conventions.
Using the Color/Font tab, shown in the figure, you can customize the colors and highlighting settings. In addition to the default keywords (such as class and public ), you can specify the additional language-specific keywords to be color-coded by the Rational Rhapsody internal code editor by Rational Rhapsody 395