Main Content

Code Style

Customize style and readability of generated code

You can configure the code generator to follow style rules to make code more readable and consistent. The code generator can remove or include optional syntactical features such as parentheses and unreachable statements.

You can configure the code generator to implement certain operations in ways that prioritize performance or readability. For example, when multiplying by a power of two, it is more efficient but less readable to use a signed bitwise shift rather than the multiplication operator. You can configure the code generator to prefer either method.

Topics