Code Engineering Options for all Sets in your Project

Choose Project from the Options menu. The Project Options dialog box appears. You can set the Code Engineering options in the Project Options dialog. The Project Options dialog box has two main collections of customizable options, represented by the hierarchy tree on the left side of the dialog box. The figure below illustrates Code Engineering-related options.

In the option list, select Code engineering and specify the following items:

Item nameDescription
Default Working DirectoryEnter the name of your working directory.
Default Working PackageDefine any package for the reverse output or code generation. Your model will be reversed or the code will be generated from this specified package.
Default Paths for ReferencesAdd specific profiles, used projects, or libraries to define where to search for paths for references during reverse/code generation.
Default EncodingClick to open a list of available encodings.
Default languageWhen selected, the syntax checker of the selected language runs while Code Engineering is executed.
Use Syntax CheckerWhen selected, the syntax checker runs while Code Engineering is executed.
Directory for Temporal FilesYou can specify Active Directory, System, or you can select another directory.

The following table describes other Code Engineering options:

OptionElement NameDescription
Code Generation

Set code generation options using the fields listed on the right side of the Project options dialog box. The Code generation area contains boxes with the same functionality as the Code generations options dialog box. See (2026x) Generating Code.

Reverse
Set reverse options for all reverse actions of the project using the options listed on the right side of the Project options dialog box. The (2026x) Reverse Options area contains boxes that have the same functionality as in the Reverse options dialog box.
DDL Language OptionsGenerate opening bracket in new line

Opens a bracket in the newly generated line.


Generate spaces

Spaces inside an assignment and other operators are generated.


Generate documentation

Comment brackets are placed in your code, unless the class in the model has no documentation. 


Header 

Add the specific header to all your code files. Click the button and enter header text in the Header dialog. You may also define $DATE, $AUTHOR, and $TIME in the header.


Related Pages: