Code Generation Option Configuration

C# Add-In

Code Generation Option Configuration

Top  Previous  Next

Code Generation Option Setup Screen

This is the screen for configuring the options required for code generation.

cs_codegen_option

Generation Options

Generation options are model-related options for code generation.

Item

Description

Generate one file for each element

Specifies whether to generate one file for each element.

Generate unnamed AssociationEnd

Specifies whether to generate code for unnamed AssociationEnds.

Generate documentation as C# Doc

Specifies whether to generate StarUML(tm) model documentation as C# Doc.

Generate empty C# Doc

Specifies whether to generate empty StarUML(tm) documentation.

Code Style Options

Code Style options are text-related options for code generation.

Item

Description

Place the opening curly brace in the new line

Places the opening curly brace "{" in the new line.

Insert tab as space

Uses space instead of tab for indentation.

Tab width

Specifies the number of spaces to be used when inserting tabs as spaces.

File Header Comments

File Header Comments defines the comments for each file head

Item

Description

File header comments

Contains the comments to be inserted in the beginning of the source file. As described in the "header comments description" section, the '@' symbol and alphanumeric characters can be used to insert specific values here.