Code Completion

In order for code completion to work, Rhapsody needs to have all RTE operations and constants etc. in the model, so you can use these when typing the name of an RTE operation, constant etc.
There are two options: import an RTE contract of your SW-C or import ArXML.

Import RTE contract

For this approach we use Reverse Engineering but importing the RTE contract is not enough: the contract uses nested include files. For the sake of simplicity, the screenshots below are taken when importing a file where all nested includes are gathered in a single directory, but you can specify multiple include paths as well - just as you would when building.

We created a package RteContractSwcA which looks like this:

The result of this reverse engineering shows you an overview of all operations for your SWC like below:

You will be able to use code completion like this: