C/C++ Beautifier

The following options are available:

Indent stand alone comments - Indicates whether comments that appear on lines by themselves with no statement text to the left are indented to the current statement indent level. For example:

/* stand alone

*/

comment

another stand alone comment

//

i=1;

// trailing comment

Indent column 1 comments - Normally comments that start in column 1 are left alone. Select this op- tion if you want the indent for these comments to be adjusted.

Specific column - This text box specifies the column in which trailing comments should be placed. Trailing comments are comments that appear at the end of lines that contain statements or declara- tions. For example:

//another stand alone comment /* stand alone

comment

*/

i=1;

// trailing comment

if (x)

{

/*

trailing

 

 

*/

comment.

}

 

 

 

 

 

Original absolute column - When this option is selected, trailing comments are placed at the same

241

Page 263
Image 263
Slick V3.3 manual Stand alone