C/C++ Beautifier

to the Syntax indent text box on the Indent Tab of the Extension Options dialog.

Original tab size - The value in this field specifies the size of the original expansion tab. SlickEdit Core uses the expansion size of your original file to handle reusing indent amounts from your original file. Currently the beautifier only reuses the original source files indenting for comments. This option has no effect if the original file has no tab characters.

Continuation indent - The value in this field specifies how much to indent lines of statements that con- tinue to the next line. This has no effect on assignment statements or parenthesized expressions. Lines that are a continuation of an assignment statement are indented after the first equal sign. Lines that are a continuation of a parenthesized expression are indented after the open paren. Given the following ex- ample:

unsigned int i;

The result would be:

unsigned

<Continuation Indent>int i;

Align on parens - When this option is selected, the text for parenthesized expressions that spans mul- tiple lines is aligned on the first non-blank after the parenthesis or on the parenthesis itself.

Align on equal - When this option is selected, the text for multi-line assignment is aligned on the first non-blank after the equals sign (=) or on the equal sign itself.

Comments Tab

This tab contains options for setting the parameters that you want for the trailing comments.

Figure 7.8. C/C++ Beautifier: Comments Tab

240

Page 262
Image 262
Slick V3.3 manual C/C++ Beautifier Comments Tab