ibm Rational Rhapsody 7.5 — Associating Files with an Editor

Basic code generation concepts Regenerating Code in the Editor To re-generate code for files that are currently open in the editor, choose Code > Re Generate > Focused Views . Associating Files with an Editor You can associate a specific editor with the extension of a source file: 1. Set the General::Model::ClassCodeEditor property to Associate . 2. Click OK . Note Microsoft Visual C++ 6.0 includes an Open with MSDEV operation in the list of operations associated with *.cpp and *.h files. If you have MVC++ 6.0, Rational Rhapsody can erroneously associate the source files with the Open with MSDEV operation instead of with the Open operation.

To make sure that Rational Rhapsody associates the MVC++ Open operation with the source files: 1. From Windows Explorer, select View > Options > File Types . 2. Select a file type (for example, C Header File associated with the file extension H), then select Edit . The Edit File Type window opens. Generally, the first action listed is Open with MSDEV . 3. Click New , add an “Open” action, and associate the Open action with your preferred editor application. 4. Remove the Open with MSDEV action. 924 User Guide