5.8. CodeComposer Directives

CodeComposer directives direct the CodeComposer to preserve manual changes in generated files in following generation runs. Developers should use specific directives whenever they have adapted a generated file manually before running CodeComposer again.

Feature: Preserve manually adapted code

By directing CodeComposer to preserve manually adapted code in certain generated files, you can easily make adjustments in generated code directly in the file, as CodeComposer will not overwrite your manual changes in the next run.

To determine the right CodeComposer directive to use follow the steps in the Activity diagram for determining CodeComposer directives below:


Fig. 5.2 Activity diagram for determining CodeComposer directives

The following CodeComposer directives can be used in generated files to instruct CodeComposer to preserve manually written code in generated files: