Source Code Formatter Options

This dialog box sets various formatting parameters.

Formatter Options

General
Remove multiple spaces

Determines whether multiple white spaces will be removed while formatting.

Indent "case" additionally

Determines whether the inside of the switch construct will be indented additionally starting with the first occurrence of case statement to the end of the switch block.

Break line after brace

Forces newline after brace.

Insert spaces

Specifies where the blank spaces must exist or are to be inserted.

After keyword

After each keyword, the specified number blank spaces must be ensured.

Around expression

Around expression, the specified number blank spaces must be ensured.

After function name

After function name the specified number blank spaces must be ensured.

Around parameter list

Around parameter list, the specified number blank spaces must be ensured.

Indent additionally

Determines which constructs are also to be indented.

Broken expressions

Determines how many levels are also to be indented.

Broken parameter list

Determines how many levels are also to be indented.

Other broken lines

Determines how many levels are also to be indented.

Parentheses format

Determines the type of C language block formatting.

No format

Parentheses positions remain unchanged.

In the same line

The left parenthesis can remain in the same line.

Same indent level

The left parenthesis can be placed in the next line on the same level.

Next indent level

The left parenthesis can be placed in the next line on the next indent level.

Comment format

Determines the type of comment aligning:

No format

Comment positions remain unchanged

No format

Comments will begin on the left and end on the right at the Text Width (Options > Editor / Source" dialog box) position.

No format

Comments will begin on the left and end on the right at the end of the comment.

Block comment prefix

Determines the string that begins the block comments to be formatted.

Line comment offset

Determines the position of the first character of the line comment.


Copyright 1993-2017, RistanCASE GmbH