C++ Code Synchronization

C++ Code Synchronization in Option List
C++ Code Synchronization in Option List

Code

Code Options in C++ Code Synchronization
Code Options in C++ Code Synchronization

 

Option Name
Description
Default attribute type (default int) Type that will be assigned to Attribute upon code generation when type is unspecified.
Default operation return type (default void) Return Type that will be assigned to operation upon code generation when return type is unspecified.
Default parameter type (default int) Type that will be assigned to Parameter upon code generation when type is unspecified.
Text File Encoding
  • System default - (default) The default system encoding will be selected as encoding for source files
  • Other - Specify an encoding for source files
Code Options details

Brace and indentation

Brace and Indentation Options in Code Synchronization
Brace and Indentation Options in Code Synchronization

 

Option Name
Description
Class declaration
  • Same line - (default) Brace for class declaration appear at the same line as the declaration
  • Next line - Brace for class declaration appear at the line after the declaration
Constructor declaration
  • Same line - (default) Brace for constructor appear at the same line as the declaration
  • Next line - Brace for constructor appear at the line after the declaration
Method declaration
  • Same line - (default) Brace for method appear at the same line as the declaration
  • Next line - Brace for method appear at the line after the declaration
Enum declaration
  • Same line - (default) Brace for enumeration appear at the same line as the declaration
  • Next line - Brace for enumeration tor appear at the line after the declaration
Annotation type declaration
  • Same line - (default) Brace for annotation type appear at the same line as the declaration
  • Next line - Brace for annotation type appear at the line after the declaration
Indentation policy
  • Tabs - (default) Use a tab of space as indentation
  • Spaces - Use spaces as indentation. The number of spaces can be defined below
Indentation size The number of spaces to indent.
Brace and Indentation Options details

 

New Lines Options in Code Synchronization
New Lines Options in Code Synchronization

 

Option Name
Description
Before first declaration Number of blank lines to appear before the first declaration within Class declarations.
Before different kind declaration Number of blank lines to appear before a different kind of declaration.
Before field declaration Number of blank lines to appear before field declaration.
Before method declaration Number of blank lines to appear before method declaration.
New Lines Options details

Template

Template Options in Code Synchronization
Template Options in Code Synchronization
Option Name
Description

 
   
   
Template Options details