[header]
categories=General|Space|Code|Statements|Pre-Processor|Comments|Miscellaneous
cfgFileParameterEnding=cr
configFilename=gc.cfg
fileTypes=*.cpp|*.c|*.h|*.hpp
indenterFileName=greatcode
indenterName=GreatCode (C, C++)
inputFileName=indentinput
inputFileParameter=-file-
manual=http://universalindent.sf.net/indentermanuals/gc.txt
outputFileName=indentinput
outputFileParameter=none
parameterOrder=ipo
showHelpParameter=-h
stringparaminquotes=false
useCfgFileParameter=none
version=1.140
[overwrite_read_only]
Category=0
Description=Process read only files (change status)
EditorType=boolean
TrueFalse=-overwrite_read_only-|-no-overwrite_read_only-
ValueDefault=0
[tab_size]
CallName=-tab_size-
Category=0
Description="Set the level (number of blanks) of an indentation level.
Example :
-tab_size-4" EditorType=numeric Enabled=true MaxVal=2000 MinVal=1 ValueDefault=4 [tab_out] Category=0 Description=Output tab characters instead of spaces EditorType=boolean TrueFalse=-tab_out-|-no-tab_out- ValueDefault=1 [eol_unix] Category=0 Description=Unix format for carriage returns EditorType=boolean TrueFalse=-eol_unix-|-no-eol_unix- ValueDefault=0 [space_if] Category=1 Description="Output a blank character after if. while. for and switch keywords.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a)
{
a++
}
-tab_size-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a)
{
a++
}
-space_if-" EditorType=boolean TrueFalse=-space_if-|-no-space_if- ValueDefault=0 [space_return] Category=1 Description="Output a blank character after return if return is followed by an open
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (a)
{
while (a--)
{
}
}
-no-space_if-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a)
{
while(a--)
{
}
}
-space_return-" EditorType=boolean TrueFalse=-space_return-|-no-space_return- ValueDefault=0 [space_fctcall] Category=1 Description="Output a blank character before the open parenthese of a function call.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return (6)
-no-space_return-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
return(6)
-space_fctcall-" EditorType=boolean TrueFalse=-space_fctcall-|-no-space_fctcall- ValueDefault=0 [space_fctcall_firstparam] Category=1 Description="Output a blank character before the first/last/inside parameter of a function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call (out)
loop (100)
-no-space_fctcall-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(out)
loop(100)
-space_fctcall_inparam-" EditorType=boolean TrueFalse=-space_fctcall_firstparam-|-no-space_fctcall_firstparam- ValueDefault=0 [space_fctcall_inparam] Category=1 Description="Output a blank character before the first/last/inside parameter of a function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1. 2. 3. 4)
-no-space_fctcall_inparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1.2.3.4)
-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call( out)
loop( 100. 200)
-no-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(out)
loop(100. 200)
-space_fctdef_firstparam-
-space_fctdef_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out )
{
}
-space_fctdecl_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out. int in)
-space_fctdecl_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call(int out. int in )
-space_fctcall_inparam-" EditorType=boolean TrueFalse=-space_fctcall_inparam-|-no-space_fctcall_inparam- ValueDefault=1 [space_fctcall_lastparam] Category=1 Description="Output a blank character before the first/last/inside parameter of a function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1. 2. 3. 4)
-no-space_fctcall_inparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1.2.3.4)
-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call( out)
loop( 100. 200)
-no-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(out)
loop(100. 200)
-space_fctdef_firstparam-
-space_fctdef_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out )
{
}
-space_fctdecl_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out. int in)
-space_fctdecl_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call(int out. int in )
-space_fctcall_inparam-" EditorType=boolean TrueFalse=-space_fctcall_lastparam-|-no-space_fctcall_lastparam- ValueDefault=0 [space_fctdef_firstparam] Category=1 Description="Output a blank character before the first/last/inside parameter of a function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1. 2. 3. 4)
-no-space_fctcall_inparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1.2.3.4)
-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call( out)
loop( 100. 200)
-no-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(out)
loop(100. 200)
-space_fctdef_firstparam-
-space_fctdef_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out )
{
}
-space_fctdecl_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out. int in)
-space_fctdecl_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call(int out. int in )
-space_fctcall_inparam-" EditorType=boolean TrueFalse=-space_fctdef_firstparam-|-no-space_fctdef_firstparam- ValueDefault=0 [space_fctdef_lastparam] Category=1 Description="Output a blank character before the first/last/inside parameter of a function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1. 2. 3. 4)
-no-space_fctcall_inparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1.2.3.4)
-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call( out)
loop( 100. 200)
-no-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(out)
loop(100. 200)
-space_fctdef_firstparam-
-space_fctdef_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out )
{
}
-space_fctdecl_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out. int in)
-space_fctdecl_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call(int out. int in )
-space_fctcall_inparam-" EditorType=boolean TrueFalse=-space_fctdef_lastparam-|-no-space_fctdef_lastparam- ValueDefault=0 [space_fctdecl_firstparam] Category=1 Description="Output a blank character before the first/last/inside parameter of a function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1. 2. 3. 4)
-no-space_fctcall_inparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1.2.3.4)
-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call( out)
loop( 100. 200)
-no-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(out)
loop(100. 200)
-space_fctdef_firstparam-
-space_fctdef_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out )
{
}
-space_fctdecl_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out. int in)
-space_fctdecl_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call(int out. int in )
-space_fctcall_inparam-" EditorType=boolean TrueFalse=-space_fctdecl_firstparam-|-no-space_fctdecl_firstparam- ValueDefault=0 [space_fctdecl_lastparam] Category=1 Description="Output a blank character before the first/last/inside parameter of a function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1. 2. 3. 4)
-no-space_fctcall_inparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1.2.3.4)
-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call( out)
loop( 100. 200)
-no-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(out)
loop(100. 200)
-space_fctdef_firstparam-
-space_fctdef_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out )
{
}
-space_fctdecl_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out. int in)
-space_fctdecl_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call(int out. int in )
-space_fctcall_inparam-" EditorType=boolean TrueFalse=-space_fctdecl_lastparam-|-no-space_fctdecl_lastparam- ValueDefault=0 [space_fctdecl] Category=1 Description="Output a blank character before the open parenthese of a function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1. 2. 3. 4)
-no-space_fctcall_inparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(1.2.3.4)
-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call( out)
loop( 100. 200)
-no-space_fctcall_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_call(out)
loop(100. 200)
-space_fctdef_firstparam-
-space_fctdef_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out )
{
}
-space_fctdecl_firstparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call( int out. int in)
-space_fctdecl_lastparam-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main_call(int out. int in )
-space_fctdecl-" EditorType=boolean TrueFalse=-space_fctdecl-|-no-space_fctdecl- ValueDefault=0 [space_fctdef] Category=1 Description="Output a blank character before the open parenthese of a function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extern func (a)
-space_fctdef-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int func (a)
{
}
-no-space_fctdef-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int func(a)
{
}
-space_fctdecl-" EditorType=boolean TrueFalse=-space_fctdef-|-no-space_fctdef- ValueDefault=0 [space_paren] CallName=-space_paren- Category=1 Description="Add spaces after '(' and before ')' if the nested level of the
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extern func (a)
-space_fctdef-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int func (a)
{
}
-no-space_fctdef-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int func(a)
{
}
-space_paren-0" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=0 [space_cast] Category=1 Description="Add spaces after '(' and before ')' for cast operators.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if((a < 5) && (b > 2))
{
}
-space_paren-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if( (a < 5) && (b > 2) )
{
}
-space_paren-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if( ( a < 5 ) && ( b > 2 ) )
{
}
See option(s) :
[-no]-space_cast-
Note(s) :
- Empty expressions () are not modified.
- Casts are not modified.
-space_cast-" EditorType=boolean TrueFalse=-space_cast-|-no-space_cast- ValueDefault=0 [space_cast_after] Category=1 Description="Add a space after a cast expression.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(( int * ) b)
{
}
return ( int * ) b
-no-space_cast-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if((int *) b)
{
}
return (int *) b
See option(s) :
-space_paren-
-space_cast_after-" EditorType=boolean TrueFalse=-space_cast_after-|-no-space_cast_after- ValueDefault=1 [space_scope_def] Category=1 Description="Add a space before and after the scope resolution operator '::' in the
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if((int *) b)
{
}
return ( int * ) b
-no-space_cast_after-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if((int *)b)
{
}
return (int *)b
See option(s) :
[-no]-space_cast-
-space_scope_def-" EditorType=boolean TrueFalse=-space_scope_def-|-no-space_scope_def- ValueDefault=0 [space_scope_access] Category=1 Description="Add a space before and after the scope resolution operator '::' when
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void func :: Ping(void)
{
}
-no-space_scope_def-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void func::Ping(void)
{
}
See option(s) :
[-no]-space_scope_access-
-space_scope_access-" EditorType=boolean TrueFalse=-space_scope_access-|-no-space_scope_access- ValueDefault=0 [space_affect_style] CallName=-space_affect_style- Category=1 Description="Set the indent style for affect and auto-affectoperators.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void func::Ping(void)
{
Base :: Ping()
Base :: Pong()
}
-no-space_scope_access-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void func::Ping(void)
{
Base::Ping()
Base::Pong()
}
See option(s) :
[-no]-space_scope_def-
-space_affect_style-0" EditorType=numeric Enabled=true MaxVal=2 MinVal=0 ValueDefault=0 [space_autoaffect_style] CallName=-space_autoaffect_style- Category=1 Description="Set the indent style for affect and auto-affectoperators.
-space_autoaffect_style-0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a = b = c <== Affect
a *= 6 <== Auto-Affect
-space_affect_style-1
-space_autoaffect_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a= b= c
a*= 6
-space_affect_style-2
-space_autoaffect_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a=b=c
a*=6
-space_affect_style-0" EditorType=numeric Enabled=true MaxVal=2 MinVal=0 ValueDefault=0 [code_len] CallName=-code_len- Category=2 Description=Maximum length of a line of code EditorType=numeric Enabled=true MaxVal=2000 MinVal=8 ValueDefault=120 [code_keep_empty_lines] Category=2 Description=Keep empty lines in original file EditorType=boolean TrueFalse=-code_keep_empty_lines-|-no-code_keep_empty_lines- ValueDefault=1 [code_keep_more_empty_lines] Category=2 Description=Make more effort to preserve empty lines in the original file - even in the face of other reformatting EditorType=boolean TrueFalse=-code_keep_more_empty_lines-|-no-code_keep_more_empty_lines- ValueDefault=0 [code_remove_empty_lines] CallName=-code_remove_empty_lines- Category=2 Description="Remove all excedent empty lines. If num is 1. then only one single
-space_autoaffect_style-0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a = b = c <== Affect
a *= 6 <== Auto-Affect
-space_affect_style-1
-space_autoaffect_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a= b= c
a*= 6
-space_affect_style-2
-space_autoaffect_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a=b=c
a*=6
-code_remove_empty_lines-1" EditorType=numeric Enabled=true MaxVal=2000 MinVal=1 ValueDefault=2 [code_split_bool_before] Category=2 Description="Determine the aspect of boolean expressions when they must be split
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a
int a
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a
int a
-code_split_bool_before-" EditorType=boolean TrueFalse=-code_split_bool_before-|-no-code_split_bool_before- ValueDefault=1 [code_split_fctcall_style] CallName=-code_split_fctcall_style- Category=2 Description="Set the style when GC must break a function call/def/decl. a for
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if
(
(A + main(func) + 6 > 60)
&& (B - 50 > 10)
|| var
)
{
}
-no-code_split_bool_before-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if
(
(A + main(func) + 6 > 60) &&
(B - 50 > 10) ||
var
)
{
}
-code_split_fctcall_style-0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [code_split_fctdef_style] CallName=-code_split_fctdef_style- Category=2 Description="Set the style when GC must break a function call/def/decl. a for
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function
(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
)
-code_split_fctcall_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter. parameter. parameter.
parameter. parameter. parameter.
parameter)
-code_split_fctcall_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
-code_split_fctdef_style-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter. parameter. parameter. parameter.
parameter. parameter. parameter)
{
}
-code_split_fctcall_style-0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [code_split_fctdecl_style] CallName=-code_split_fctdecl_style- Category=2 Description="Set the style when GC must break a function call/def/decl. a for
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function
(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
)
-code_split_fctcall_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter. parameter. parameter.
parameter. parameter. parameter.
parameter)
-code_split_fctcall_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
-code_split_fctdef_style-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter. parameter. parameter. parameter.
parameter. parameter. parameter)
{
}
-code_split_fctcall_style-0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [code_split_for_style] CallName=-code_split_for_style- Category=2 Description="Set the style when GC must break a function call/def/decl. a for
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function
(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
)
-code_split_fctcall_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter. parameter. parameter.
parameter. parameter. parameter.
parameter)
-code_split_fctcall_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
-code_split_fctdef_style-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter. parameter. parameter. parameter.
parameter. parameter. parameter)
{
}
-code_split_fctcall_style-0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [code_split_if_style] CallName=-code_split_if_style- Category=2 Description="Set the style when GC must break a function call/def/decl. a for
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function
(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
)
-code_split_fctcall_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter. parameter. parameter.
parameter. parameter. parameter.
parameter)
-code_split_fctcall_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
-code_split_fctdef_style-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter. parameter. parameter. parameter.
parameter. parameter. parameter)
{
}
-code_split_fctcall_style-0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [code_split_decl_style] CallName=-code_split_decl_style- Category=2 Description="Set style of indentation for declaration of variables.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function
(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
)
-code_split_fctcall_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter. parameter. parameter.
parameter. parameter. parameter.
parameter)
-code_split_fctcall_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function(parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
-code_split_fctdef_style-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter.
parameter.
parameter.
parameter.
parameter.
parameter.
parameter)
{
}
-code_split_fctdef_style-5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void function(
parameter. parameter. parameter. parameter.
parameter. parameter. parameter)
{
}
before" EditorType=numeric Enabled=true MaxVal=2 MinVal=0 ValueDefault=0 [code_constructor_style] CallName=-code_constructor_style- Category=2 Description="Set style of indentation for constructors.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a. b. c = 10
\t\tint d
-code_split_decl_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a.
b.
c = 10
\t\tint d
-code_split_decl_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a
int b
int c = 10
\t\tint d
-code_constructor_style-0" EditorType=numeric Enabled=true MaxVal=2 MinVal=0 ValueDefault=0 [code_decl_move_affect] Category=2 Description="Move initialization in local variables declaration just after the
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cons::cons(void) :
set(0).
reset(0)
{
}
-code_constructor_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cons::cons(void) : set(0). reset(0)
{
}
-code_constructor_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cons::cons(void) :
set(0).
reset(0)
{
}
-code_decl_move_affect-" EditorType=boolean TrueFalse=-code_decl_move_affect-|-no-code_decl_move_affect- ValueDefault=0 [code_decl_move_top] Category=2 Description="Move all local variables declaration to the top of the corresponding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
int a = 0
int c = a + 1
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
int a
int c
a = 0 <= initializations has been moved
c = a + 1
}
Note(s) :
- Be careful because this option sometimes does not work well. That's
why it's set to FALSE by default.
-code_decl_move_top-" EditorType=boolean TrueFalse=-code_decl_move_top-|-no-code_decl_move_top- ValueDefault=0 [code_decl_access_to_type] Category=2 Description="Move * and & access specifier just after the type if TRUE. or
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
int a. b
a = b = 0
while(a)
{
}
int c <= declaration
c = 10
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
int a. b
int c <= declaration has been moved
a = b = 0
while(a)
{
}
c = 10
}
-code_decl_access_to_type-" EditorType=boolean TrueFalse=-code_decl_access_to_type-|-no-code_decl_access_to_type- ValueDefault=0 [code_decl_break_template] Category=2 Description="Force an EOL after a template declaration.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int** p
int function(int* b. int& ref)
{
}
-no-code_decl_access_to_type-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int **p
int function(int *b. int &ref)
{
}
-code_decl_break_template-" EditorType=boolean TrueFalse=-code_decl_break_template-|-no-code_decl_break_template- ValueDefault=1 [code_decl_add_void] Category=2 Description="Force the voidkeyword in a function declaration if nothing is
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
template<= EOL
class TestClass
{
public:
char buffer[i]
T\t\ttestFunc(T *p1)
}
-no-code_decl_break_template-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
templateclass TestClass
{
public:
char buffer[i]
T\t\ttestFunc(T *p1)
}
before" EditorType=boolean TrueFalse=-code_decl_add_void-|-no-code_decl_add_void- ValueDefault=0 [code_wizard_indent] Category=2 Description="Indent code between to devstudio appwizard special comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int function()
{
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int function(void)
{
}
-code_wizard_indent-" EditorType=boolean TrueFalse=-code_wizard_indent-|-no-code_wizard_indent- ValueDefault=1 [code_force_return_paren] Category=2 Description="Force parentheses around a returnexpression.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
protected:
//{{AFX_MSG(CDocument)
enum a <= has been touched
{
id = 0
}
afx_msg void OnFileClose(void)
afx_msg void OnFileSave(void)
afx_msg void OnFileSaveAs(void)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
}
-no-code_wizard_indent-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
protected:
//{{AFX_MSG(CDocument)
enum a { id = 0 } <= same as original file
afx_msg void OnFileClose(void)
afx_msg void OnFileSave(void)
afx_msg void OnFileSaveAs(void)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
}
Note(s) :
- This option must be set to FALSE if you want to indent special
appwizard headers with auto generated code. This is because touching
that code can make appwizard fail to recognize its special marks.
- This option can't be set in a source file with special comment
/*$O */
-code_force_return_paren-" EditorType=boolean TrueFalse=-code_force_return_paren-|-no-code_force_return_paren- ValueDefault=0 [code_remove_return_paren] Category=2 Description=Remove all parentheses around a return parameter EditorType=boolean TrueFalse=-code_remove_return_paren-|-no-code_remove_return_paren- ValueDefault=0 [code_align_max_blanks] CallName=-code_align_max_blanks- Category=2 Description="Set the maximum number of blank characters that can be added by GC to
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a()
{
return 0
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a()
{
return(0)
}
See option(s) :
[-no]-code_remove_return_paren-
Note(s) :
- This option can't be set in a source file with special comment
/*$O */
- Can't be used with -code_remove_return_paren- option.
-code_align_max_blanks-10" EditorType=numeric Enabled=true MaxVal=2000 MinVal=1 ValueDefault=1000 [code_def_fct_break_return_type] Category=2 Description="Force a line break after the return type in a function definition.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a
un_int b
unsigned int coucou
unsigned int bg
-code_align_max_blanks-20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a
un_int b
unsigned int coucou
unsigned int bg
-code_def_fct_break_return_type-" EditorType=boolean TrueFalse=-code_def_fct_break_return_type-|-no-code_def_fct_break_return_type- ValueDefault=0 [code_concat_strings] Category=2 Description="Concat adjacent string constants.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int
function(void)
{
}
int
class::func(void)
{
}
-no-code_def_fct_break_return_type-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int function(void)
{
}
int class::func(void)
{
}
-no-code_concat_strings-" EditorType=boolean TrueFalse=-code_concat_strings-|-no-code_concat_strings- ValueDefault=0 [code_empty_fct_blanks] CallName=-code_empty_fct_blanks- Category=2 Description="Add empty lines between { and } for empty functions. Empty function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printf(coucoulafoule)
-code_concat_strings-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printf(coucoulafoule)
-code_empty_fct_blanks-0" EditorType=numeric Enabled=true MaxVal=2 MinVal=0 ValueDefault=0 [catch_eol_before] CallName=-catch_eol_before- Category=2 Description=Number of EOL before catch EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [code_class_access_eol_before] CallName=-code_class_access_eol_before- Category=2 Description="Number of EOL before/after class access specifiers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void empty(void)
{ }
-code_empty_fct_blanks-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void empty(void)
{
}
-code_empty_fct_blanks-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void empty(void)
{
}
-code_class_access_eol_after-1" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [code_class_access_eol_after] CallName=-code_class_access_eol_after- Category=2 Description="Number of EOL before/after class access specifiers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
public:
void a(void)
private:
void ab(void)
}
-code_class_access_eol_before-2
-code_class_access_eol_after-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
public:
void a(void)
private:
void ab(void)
}
See option(s) :
-code_remove_empty_lines-
-code_class_access_eol_after-1" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [code_labels_eol_after] CallName=-code_labels_eol_after- Category=2 Description="Number of EOL after labels.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
public:
void a(void)
private:
void ab(void)
}
-code_class_access_eol_before-2
-code_class_access_eol_after-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
public:
void a(void)
private:
void ab(void)
}
See option(s) :
-code_remove_empty_lines-
-code_labels_eol_after-1" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [stmt_break_alone] Category=3 Description="Force an empty statement to be alone on its line.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
goto label
label:
a++
-code_labels_eol_after-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
goto label
label:
a++
See option(s) :
-code_remove_empty_lines-
-stmt_break_alone-" EditorType=boolean TrueFalse=-stmt_break_alone-|-no-stmt_break_alone- ValueDefault=0 [stmt_break_dowhile] Category=3 Description="Force a break line before the while of a do...while statement.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
for(a = 0 a < 10 a++)
-no-stmt_break_alone-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
for(a = 0 a < 10 a++)
Note(s) :
- Concerns if. while. for and switch statements.
\t\t-stmt_break_dowhile-" EditorType=boolean TrueFalse=-stmt_break_dowhile-|-no-stmt_break_dowhile- ValueDefault=0 [stmt_force_brace] CallName=-stmt_force_brace- Category=3 Description="Force a statement to be enclosed with { } if its length exceeded the
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\t\tdo
\t\t{
\t\t\t...
\t\t}
\t\twhile(1)
\t\t-no-stmt_break_dowhile-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\t\tdo
\t\t{
\t\t\t...
\t\t} while(1)
-stmt_force_brace-1" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=100 [code_eol_after_close_brace] CallName=-code_eol_after_close_brace- Category=3 Description="Nu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a) a++
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a)
{
a++
}
mber of blank lines after every close brace -" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=0 [stmt_concat_if] Category=3 Description="Try to output if. while or for expression on a single line if the
except ones followed by else. while. and those around typedef
statements...
-stmt_force_brace-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if foo) {
bar()
}
if foo) {
bar()
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if foo) {
bar()
}
if foo) {
bar()
}
-stmt_concat_if-" EditorType=boolean TrueFalse=-stmt_concat_if-|-no-stmt_concat_if- ValueDefault=1 [stmt_concat_if_and_else] Category=3 Description="Try to output if ... else expression on two lines - if possible...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
while(a && b)
a = b + 6
if(a)
a++
if(b)
{
b++
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
while(a && b) a = b + 6
if(a) a++
if(b)
{
b++
}
See options(s) :
-code_len-
Note(s) :
- This option does not modify statements with { }.
-stmt_concat_if_and_else-" EditorType=boolean TrueFalse=-stmt_concat_if_and_else-|-no-stmt_concat_if_and_else- ValueDefault=0 [stmt_concat_else_2_stmt] Category=3 Description="Put the else on the same line as the previous statement.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a)
a++
else
b++
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a) a++
else b++
See options(s) :
-code_len-
Note(s) :
- This option does not modify statements with { }.
-stmt_concat_else_2_stmt-" EditorType=boolean TrueFalse=-stmt_concat_else_2_stmt-|-no-stmt_concat_else_2_stmt- ValueDefault=0 [stmt_concat_else_if] Category=3 Description="Close up any gap between else and if in else ... ifstructures.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a)
{
} else
{
}
-no-stmt_concat_else_2_stmt-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a)
{
}
else
{
}
-stmt_concat_else_if-" EditorType=boolean TrueFalse=-stmt_concat_else_if-|-no-stmt_concat_else_if- ValueDefault=1 [stmt_concat_inline_class] Category=3 Description="Concat if possible inline function body inside a class.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(foo)
\t\t{
}
\t\telse if(bar)
\t\t{
}
-no-stmt_concat_else_if-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(foo)
\t\t{
} else
if(bar)
\t\t{
}
-stmt_concat_inline_class-" EditorType=boolean TrueFalse=-stmt_concat_inline_class-|-no-stmt_concat_inline_class- ValueDefault=1 [stmt_concat_switch] Category=3 Description="Concat all cases of a switch if possible. Empty lines are removed if
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
int previous(int a)
{
return a - 1
}
int next(int a)
{
return a + 1
}
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
int previous(int a) { return a - 1 }
int next(int a) { return a + 1 }
}
See options(s) :
-code_len-
-stmt_concat_switch-" EditorType=boolean TrueFalse=-stmt_concat_switch-|-no-stmt_concat_switch- ValueDefault=1 [stmt_concat_macros] Category=3 Description="Concat a macro body if possible.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a)
{
case 10:
break
case 11:
a = a + 6 return a
case 12:
if(a) a++
break
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a)
{
case 10: break
case 11: a = a + 6 return a
case 12: if(a) a++ break
}
-stmt_concat_macros-" EditorType=boolean TrueFalse=-stmt_concat_macros-|-no-stmt_concat_macros- ValueDefault=1 [stmt_concat_enum] Category=3 Description="Concat content of enum if possible.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define macro()
{
a = a + 18 - b
if(!a) return 10
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define macro() { a = a + 18 - b if(!a) return 10 }
-stmt_concat_enum-" EditorType=boolean TrueFalse=-stmt_concat_enum-|-no-stmt_concat_enum- ValueDefault=1 [stmt_decl_remove_empty] Category=3 Description="Remove empty lines in declaration statements.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
enum a
{
id1.
id2
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
enum a { id1. id2 }
-stmt_decl_remove_empty-" EditorType=boolean TrueFalse=-stmt_decl_remove_empty-|-no-stmt_decl_remove_empty- ValueDefault=1 [stmt_concat_if_remove_empty] Category=3 Description="Remove empty lines between concat if/while/for.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
int a
<= Empty line
int b
int c
a = b = c = 0
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
int a
int b
int c
a = b = c = 0
}
-stmt_concat_if_remove_empty-" EditorType=boolean TrueFalse=-stmt_concat_if_remove_empty-|-no-stmt_concat_if_remove_empty- ValueDefault=1 [stmt_brace_style_class] CallName=-stmt_brace_style_class- Category=3 Description="Change the indentation style of braces.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a) a++
<= Empty line
<= Empty line
if(b) b = b + a
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if(a) a++
if(b) b = b + a
See option(s) :
[-no]-stmt_concat_if- to concat if/while/for expressions if possible.
Style 0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [stmt_brace_style_fct] CallName=-stmt_brace_style_fct- Category=3 Description="Change the indentation style of braces.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Style 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Style 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void) {
while(a) {
a = a + func(a)
}
}
Style 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void) {
while(a) {
a = a + func(a)
}
}
Style 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{ while(a)
{ a = a + func(a)
}
}
Style 5 offset brace by 1/2 tab width
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Note(s) :
- Valid values are only 0. 1. 2. 3. 4 or 5.
Style 0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [stmt_brace_style_decl] CallName=-stmt_brace_style_decl- Category=3 Description="Change the indentation style of braces.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Style 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Style 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void) {
while(a) {
a = a + func(a)
}
}
Style 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void) {
while(a) {
a = a + func(a)
}
}
Style 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{ while(a)
{ a = a + func(a)
}
}
Style 5 offset brace by 1/2 tab width
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Note(s) :
- Valid values are only 0. 1. 2. 3. 4 or 5.
Style 0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [stmt_brace_style] CallName=-stmt_brace_style- Category=3 Description="Change the indentation style of braces.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Style 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Style 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void) {
while(a) {
a = a + func(a)
}
}
Style 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void) {
while(a) {
a = a + func(a)
}
}
Style 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{ while(a)
{ a = a + func(a)
}
}
Style 5 offset brace by 1/2 tab width
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Note(s) :
- Valid values are only 0. 1. 2. 3. 4 or 5.
Style 0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [stmt_switch_style] CallName=-stmt_switch_style- Category=3 Description="Change the indentation style of switch.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Style 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Style 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void) {
while(a) {
a = a + func(a)
}
}
Style 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void) {
while(a) {
a = a + func(a)
}
}
Style 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{ while(a)
{ a = a + func(a)
}
}
Style 5 offset brace by 1/2 tab width
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void main(void)
{
while(a)
{
a = a + func(a)
}
}
Note(s) :
- Valid values are only 0. 1. 2. 3. 4 or 5.
Style 0" EditorType=numeric Enabled=true MaxVal=5 MinVal=0 ValueDefault=0 [stmt_switch_eol] CallName=-stmt_switch_eol- Category=3 Description="Is there an empty line before the casekeyword ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a)
{
case 0:
a++
break
case 1:
break
}
Style 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a)
{
case 0:
a++
break
case 1:
break
}
Style 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a)
{
case 0:
a++
break
case 1:
break
}
Style 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a) {
case 0:
a++
break
case 1:
break
}
Style 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a) {
case 0:
a++
break
case 1:
break
}
Style 5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a)
{
case 0:
a++
break
case 1:
break
}
Style 0" EditorType=numeric Enabled=true MaxVal=1 MinVal=0 ValueDefault=0 [stmt_class_indent] CallName=-stmt_class_indent- Category=3 Description="Set the number of additional indentation levels in a class declaration.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a)
{
case 0:
\t\tcase 3:
a++
break
case 1:
break
case 4:
break
}
Style 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
switch(a)
{
case 0:
\t\tcase 3:
a++
break
case 1:
break
case 4:
break
}
-stmt_class_indent-0" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=0 [stmt_namespace_indent] Category=3 Description="Indent one level a namespace statement.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
public:
void a(void)
}
-stmt_class_indent-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
public:
void a(void)
}
-no-stmt_namespace_indent-" EditorType=boolean TrueFalse=-stmt_namespace_indent-|-no-stmt_namespace_indent- ValueDefault=0 [stmt_extern_c_indent] Category=3 Description="Indent one level an extern Cstatement.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
namespace com
{
int a(void)
{
}
}
-stmt_namespace_indent-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
namespace com
{
int a(void)
{
}
}
-no-stmt_extern_c_indent-" EditorType=boolean TrueFalse=-stmt_extern_c_indent-|-no-stmt_extern_c_indent- ValueDefault=0 [stmt_static_init_style] CallName=-stmt_static_init_style- Category=3 Description="De
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extern C
{
int a(void)
{
}
}
-stmt_extern_c_indent-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
extern C
{
int a(void)
{
}
}
fines indent style for static initialisations." EditorType=numeric Enabled=true MaxVal=3 MinVal=0 ValueDefault=0 [stmt_static_init_len] CallName=-stmt_static_init_len- Category=3 Description="To
\t\t-stmt_static_init_style-0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\t\tchar *d[] =
\t\t{
\t\t\tNULL.
\t\t\tROM.
\t\t\tOTPROM.
\t\t\tEPROM.
\t\t\tEEPROM.
\t\t\tFLASH
\t\t}
\t\t-stmt_static_init_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\t\tchar *d[] = { NULL. ROM. OTPROM. EPROM. EEPROM. FLASH}
\t\t-stmt_static_init_style-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\t\tchar *d[] =
\t\t{
\t\t\tNULL. ROM. OTPROM.
\t\t\tEPROM. EEPROM. FLASH
\t\t}
Note(s) :
- Option -stmt_static_init_style-1 let the original indentation
\t\t unchanged.
- The max length of the line in the initialisation statement for option
\t\t -stmt_static_init_style-3 is defined by the -stmt_static_init_len-
\t\t option.
See option(s) :
\t\t-stmt_static_init_len-
be used with -stmt_static_init_style-3. Defined the max length of" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=80 [pp_align_to_code] Category=4 Description="Align or not PP directive to the code just below.
-pp_align_to_code-" EditorType=boolean TrueFalse=-pp_align_to_code-|-no-pp_align_to_code- ValueDefault=0 [pp_style] CallName=-pp_style- Category=4 Description="Set the indentation style of PP directives.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define a 0
void main(void)
{
#define a 0
#define coucou 0
#define coucou()
while(a)
{
a = a + func(a)
}
#if 0
if(a) a++
#endif
}
-no-pp_align_to_code-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define a 0
void main(void)
{
#define a 0
#define coucou 0
#define coucou()
while(a)
{
a = a + func(a)
}
#if 0
if(a) a++
#endif
}
Note(s) :
- This option can't be used in source file file special comment /*$O*/.
-pp_style-0" EditorType=numeric Enabled=true MaxVal=2 MinVal=0 ValueDefault=0 [pp_include_unix] Category=4 Description="Change '' to '/' in an include expression.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#ifdef a
a++
#else
#if 0
#ifdef a
#elif b
a--
#endif
#endif
#endif
-pp_style-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#ifdef a
a++
#else
#if 0
#ifdef a
#elif b
a--
#endif
#endif
#endif
-pp_style-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#ifdef a
a++
#else
# if 0
# ifdef a
# elif b
a--
# endif
# endif
#endif
before" EditorType=boolean TrueFalse=-pp_include_unix-|-no-pp_include_unix- ValueDefault=1 [pp_align_breakline] Category=4 Description="Al
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include gll.h
#include
-pp_include_unix-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include gl/gl.h
#include
-no-pp_include_unix-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include gll.h
#include
ign (or not) breakline characters '' in macros." EditorType=boolean TrueFalse=-pp_align_breakline-|-no-pp_align_breakline- ValueDefault=0 [cmt_fixme] CallName=-cmt_fixme- Category=5 Description="Specify the string for FIXME comment the default is /* FIXME: Comment */
-pp_align_breakline-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\t\t#define a(A)
\t\t\tA += 2\t\t\t
\t\t\tA = c(fonc) + 3
-no-pp_align_breakline-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\t\t#define a(A)
\t\t\tA += 2\t
\t\t\tA = c(fonc) + 3
-cmt_fixme-/* TODO: add comment */" EditorType=string Enabled=false ValueDefault=/* */ [cmt_align_max_blanks] CallName=-cmt_align_max_blanks- Category=5 Description="Set the max number of blank characters to add to align last line
-cmt_align_max_blanks-20" EditorType=numeric Enabled=true MaxVal=2000 MinVal=1 ValueDefault=10 [cmt_first_space_cpp] Category=5 Description="Force a space after the opening comment delimiter.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int coucou /* comment */
unsigned int b /* comment */
unsigned int long_long_variable_variables /* comment */
-cmt_align_max_blanks-30
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int coucou /* comment */
unsigned int b /* comment */
unsigned int long_long_variable_variables /* comment */
-cmt_first_space_cpp-" EditorType=boolean TrueFalse=-cmt_first_space_cpp-|-no-cmt_first_space_cpp- ValueDefault=1 [cmt_dont_modify] Category=5 Description="Pr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// coucou
-no-cmt_first_space_cpp-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//coucou
ocess or not all the comments of the file." EditorType=boolean TrueFalse=-cmt_dont_modify-|-no-cmt_dont_modify- ValueDefault=0 [cmt_add_gc_tag] Category=5 Description=Add the GC mark at the beginning of the file.
ntrol style of trailing comments and an empty comment is added to" EditorType=numeric Enabled=true MaxVal=2 MinVal=0 ValueDefault=0 [cmt_split_before_@_in_fct_cmts] Category=5 Description=Split lines in fucntion comments before @ EditorType=boolean TrueFalse=-cmt_split_before_@_in_fct_cmts-|-no-cmt_split_before_@_in_fct_cmts- ValueDefault=0 [cmt_force_fct_def_decl_split] Category=5 Description="Fo
function parameters if not already present.
This also causes -cmt_force_fct_def_decl_split-
and -code_split_fctdef_style-3. The content of
empty comment is defined by -cmt_fixme-.
-cmt_trailing_style-1
-cmt_force_fct_def_decl_split-
-code_split_fctdef_style-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
before:
int a(int param1. int param2) ## No comments
{
}
after:
int a(
int param1. /* FIXME: add a comment */ ## Added automatically
int param2) /* FIXME: add a comment */ ## Added automatically
{
}
-cmt_trailing_style-2
-cmt_force_fct_def_decl_split-
-code_split_fctdef_style-3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
before:
int a(
int param1. /* IN: parameter 1 */
int param2) /* IN: parameter 2 */
{
}
after:
int a(
int param1. ///< IN: parameter 1 ## Changed to cpp
int param2) ///< IN: parameter 2 ## Changed to cpp
{
}
rce function definitions to split at each paramenter according" EditorType=boolean TrueFalse=-cmt_force_fct_def_decl_split-|-no-cmt_force_fct_def_decl_split- ValueDefault=0 [cmt_java_doc] Category=5 Description=Enable the java doc type comments for all comments. Also enables -cmt_sep_fill_star- and -cmt_fct_java_doc- EditorType=boolean TrueFalse=-cmt_java_doc-|-no-cmt_java_doc- ValueDefault=0 [cmt_fct_java_doc] Category=5 Description=Enable the java doc type comments for functions only. Also enables -cmt_sep_fill_star-. EditorType=boolean TrueFalse=-cmt_fct_java_doc-|-no-cmt_fct_java_doc- ValueDefault=0 [cmt_add_class_access] Category=5 Description="Add an empty comment before class access (if not already present).
to the sytle defined by -code_split_fctdef_style-
-cmt_add_class_access-" EditorType=boolean TrueFalse=-cmt_add_class_access-|-no-cmt_add_class_access- ValueDefault=1 [cmt_keep_cpp] Category=5 Description="Keep C++ comments. and do not change them to the C form.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
public:
void v(void)
protected:
int c
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class a
{
/* <= by default. cmt level is 2
==========================================
==========================================
*/
public:
void v(void)
/*
==========================================
==========================================
*/
protected:
int c
}
See option(s) :
-cmt_sep_char_2-
-cmt_sep_len-
-cmt_sep_force_class_access-
-no-cmt_keep_cpp-" EditorType=boolean TrueFalse=-cmt_keep_cpp-|-no-cmt_keep_cpp- ValueDefault=0 [cmt_c2cpp] Category=5 Description=Convert all C comments to the C++ form. Only end of lines comments are
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// this is a comment
// this is another comment
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* this is a comment
* this is another comment
*/
See option(s) :
[no]-cmt_cpp2c_keep_eol-
-cmt_sep_char_split-
Note(s) :
- This option can't be set in a source file with special comment
/*$O */
before" EditorType=boolean TrueFalse=-cmt_cpp2c_keep_eol-|-no-cmt_cpp2c_keep_eol- ValueDefault=1 [cmt_fct_categ] CallName=-cmt_fct_categ- Category=5 Description="-cmt_fct_categ- Define a special word when indenting function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// this is a comment
// this is another comment
-cmt_cpp2c_keep_eol-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* this is a comment <= is the default break character
* this is another comment
*/
-no-cmt_cpp2c_keep_eol-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* this is a comment this is another comment */
See option(s) :
[no]-cmt_keep_cpp-
-cmt_sep_char_split-
options" EditorType=string Enabled=false ValueDefault= [cmt_fct_categ_in] CallName=-cmt_fct_categ_in- Category=5 Description="-cmt_fct_categ- Define a special word when indenting function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-cmt_fct_categ-main
-cmt_fct_categ-output
-cmt_fct_categ_in-parameters
before
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* Description: Description of the function. Return: none
Parameters: a - entering value b - increment value */
int function(int a. int b)
{
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
==========================================
Description:\tDescription of the function.
Return:\tnone
Parameters: a - entering value
b - increment value
==========================================
*/
int function(int a. int b)
{
}
See option(s) :
[-no]-cmt_add_fct_def-
\t\t-cmt_fct_categ_style-
Note(s) :
- In comment. special words must be followed by ':'.
- A parameter must be followed by '-'. and then by the comment.
- This option can't be set in a source file with special comment
/*$O */
options" EditorType=string Enabled=false ValueDefault= [cmt_fct_categ_style] CallName=-cmt_fct_categ_style- Category=5 Description=Set indentation style for special keywords in comments EditorType=numeric Enabled=true MaxVal=1 MinVal=0 ValueDefault=0 [cmt_decl] Category=5 Description="Add separators in local variable declaration (before and/or after).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-cmt_fct_categ-main
-cmt_fct_categ-output
-cmt_fct_categ_in-parameters
before
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* Description: Description of the function. Return: none
Parameters: a - entering value b - increment value */
int function(int a. int b)
{
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
==========================================
Description:\tDescription of the function.
Return:\tnone
Parameters: a - entering value
b - increment value
==========================================
*/
int function(int a. int b)
{
}
See option(s) :
[-no]-cmt_add_fct_def-
\t\t-cmt_fct_categ_style-
Note(s) :
- In comment. special words must be followed by ':'.
- A parameter must be followed by '-'. and then by the comment.
- This option can't be set in a source file with special comment
/*$O */
-cmt_decl-" EditorType=boolean TrueFalse=-cmt_decl-|-no-cmt_decl- ValueDefault=1 [cmt_decl_max_level] CallName=-cmt_decl_max_level- Category=5 Description="-cmt_decl- option is valid for declaration in a statement level lesser
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
unsigned int var
long b
var = 0
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
/*~~~~~~~~~~~~~~~~~~*/
unsigned int var
long b
/*~~~~~~~~~~~~~~~~~~*/
var = 0
}
See options(s) :
-cmt_decl_max_level-
[-no]-cmt_decl_before-
-cmt_decl_len-
[-no]-cmt_decl_auto_len-
-cmt_decl_auto_len_add-
Note(s) :
- Can't be used with -cmt_dont_modify- option.
-cmt_decl_max_level-1" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=100 [cmt_decl_before] Category=5 Description="Add a separator before local declarations.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
/*~~*/
int b
/*~~*/
b = 0
if(b)
{
unsigned int var <= stmt level is 2. so is not touched
long c
var = c = 0
}
}
-cmt_decl_max_level-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
/*~~*/
int b
/*~~*/
b = 0
if(b)
{
/*~~~~~~~~~~~~~~~~~~*/ <= stmt level 2 is now converned
unsigned int var
long c
/*~~~~~~~~~~~~~~~~~~*/
var = c = 0
}
}
-cmt_decl_before-" EditorType=boolean TrueFalse=-cmt_decl_before-|-no-cmt_decl_before- ValueDefault=1 [cmt_decl_len] CallName=-cmt_decl_len- Category=5 Description="Se
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
/*~~~~~~~~~~~~~~~~~~*/
unsigned int var
long b
/*~~~~~~~~~~~~~~~~~~*/
var = 0
}
-no-cmt_decl_before-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
unsigned int var
long b
/*~~~~~~~~~~~~~~~~~~*/
var = 0
}
t the maximum column of the declaration separator." EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=120 [cmt_decl_auto_len] Category=5 Description="Co
-cmt_decl- must be enabled.
-cmt_decl_auto_len- must be disabled.
-cmt_decl_len-20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
/*~~~~~~~~~~~~*/ <= column 20
int b
/*~~~~~~~~~~~~*/
{
/*~~~~~~*/
unsigned int var
long b
/*~~~~~~*/
}
var = 0
}
-cmt_decl_len-50
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ <= column 50
int b
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
{
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
unsigned int var
long b
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
}
var = 0
}
mpute the length of the decl separator depending on code." EditorType=boolean TrueFalse=-cmt_decl_auto_len-|-no-cmt_decl_auto_len- ValueDefault=1 [cmt_decl_auto_len_add] CallName=-cmt_decl_auto_len_add- Category=5 Description="Wh
Is disabled. the length is set by -cmt_decl_len- option.
en -cmt_decl_auto_len- and -cmt_decl- are both enabled. add" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=0 [cmt_first_line_break_first] Category=5 Description="Add an EOL after /* of first line comments.
characters to the length of the separator.
-cmt_decl_auto_len_add-0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
/*~~~~~~~~~~~~~~~~~~*/ <= exact size of the code below
unsigned int var
long b
/*~~~~~~~~~~~~~~~~~~*/
{
/*~~*/ <= idem
int c
/*~~*/
}
var = 0
}
-cmt_decl_auto_len_add-4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a(void)
{
/*~~~~~~~~~~~~~~~~~~~~~~*/ <= size + 4
unsigned int var
long b
/*~~~~~~~~~~~~~~~~~~~~~~*/
{
/*~~~~~~*/ <= size + 4
int c
/*~~~~~~*/
}
var = 0
}
-cmt_first_line_break_first-" EditorType=boolean TrueFalse=-cmt_first_line_break_first-|-no-cmt_first_line_break_first- ValueDefault=1 [cmt_first_line_break_last] Category=5 Description="Add an EOL after /* of first line comments.
-cmt_first_line_break_last-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* Comment
* Comment
*/
-no-cmt_first_line_break_first-
-cmt_first_line_break_last-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* Comment
* Comment
*/
-no-cmt_first_line_break_first-
-no-cmt_first_line_break_last-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* Comment
* Comment */
-cmt_first_line_break_first-" EditorType=boolean TrueFalse=-cmt_first_line_break_last-|-no-cmt_first_line_break_last- ValueDefault=1 [cmt_first_line_fill_star] Category=5 Description="Add a '*' character at the beginning of lines of first line comments.
-cmt_first_line_break_last-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* Comment
* Comment
*/
-no-cmt_first_line_break_first-
-cmt_first_line_break_last-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* Comment
* Comment
*/
-no-cmt_first_line_break_first-
-no-cmt_first_line_break_last-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* Comment
* Comment */
-cmt_first_line_fill_star-" EditorType=boolean TrueFalse=-cmt_first_line_fill_star-|-no-cmt_first_line_fill_star- ValueDefault=1 [cmt_first_line_len] CallName=-cmt_first_line_len- Category=5 Description="Set the maximum length of first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* Comment
* Comment
*/
-no-cmt_first_line_fill_star-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
Comment
Comment
*/
See options(s) :
[-no]-cmt_sep_fill_star-
Note(s) :
- Separators are not concerned.
-cmt_first_line_len-100" EditorType=numeric Enabled=true MaxVal=2000 MinVal=8 ValueDefault=80 [cmt_first_line_concat] Category=5 Description="Concat adjacent first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* this is a comment that should be split */
-cmt_first_line_len-40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* this is a comment that should be
* split
*/
-cmt_first_line_len-10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* this is a
* comment
* that
* should be
* split
*/
Note(s) :
- Separators are not concerned.
-cmt_first_line_concat-" EditorType=boolean TrueFalse=-cmt_first_line_concat-|-no-cmt_first_line_concat- ValueDefault=1 [cmt_first_line_blank] Category=5 Description="Add an empty line between two adjacent first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* first line comment */
/* another first line comment */
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* first line comment
* another first line comment
*/
-cmt_first_line_blank-" EditorType=boolean TrueFalse=-cmt_first_line_blank-|-no-cmt_first_line_blank- ValueDefault=1 [cmt_sep_len] CallName=-cmt_sep_len- Category=5 Description="Set the maximum length for separators. First line comments are not
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* comment1 */
/* comment2 */
/* comment3 */
if(a)
{
}
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* comment1 */
/* comment2 */
/* comment3 */
if(a)
{
}
See options(s) :
[-no]-cmt_first_line_concat-
-cmt_sep_len-10" EditorType=numeric Enabled=true MaxVal=2000 MinVal=8 ValueDefault=120 [cmt_sep_fill_star] Category=5 Description="Add a star at the beginning of all lines of a separator.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$2
---------
---------
*/
-cmt_sep_len-20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$4
*******************
*******************
*/
/*$5-#############*/
-cmt_sep_fill_star-" EditorType=boolean TrueFalse=-cmt_sep_fill_star-|-no-cmt_sep_fill_star- ValueDefault=0 [cmt_sep_break] Category=5 Description="Force /* and */ to be alone on their lines for separators.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$4
*******************
* comment
* comment
*******************
*/
-no-cmt_sep_fill_star-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$4
*******************
comment
comment
*******************
*/
See option(s) :
-cmt_sep_char_4-
-cmt_sep_char_split-
[-no]-cmt_first_line_fill_star-
-cmt_sep_break-" EditorType=boolean TrueFalse=-cmt_sep_break-|-no-cmt_sep_break- ValueDefault=1 [cmt_keep-char_1] CallName=-cmt_keep-char_1- Category=5 Description=(1) Keep the comment identical to /*$F but apply to the character next to the * in /* EditorType=string Enabled=false ValueDefault= [cmt_keep-char_2] CallName=-cmt_keep-char_2- Category=5 Description=(2) Keep the comment identical to /*$F but apply to the character next to the * in /* EditorType=string Enabled=false ValueDefault= [cmt_keep-char_3] CallName=-cmt_keep-char_3- Category=5 Description=(3) Keep the comment identical to /*$F but apply to the character next to the * in /* EditorType=string Enabled=false ValueDefault= [cmt_keep-char_4] CallName=-cmt_keep-char_4- Category=5 Description=(4) Keep the comment identical to /*$F but apply to the character next to the * in /* EditorType=string Enabled=false ValueDefault= [cmt_keep-char_cpp_1] CallName=-cmt_keep-char_cpp_1- Category=5 Description=(1) Keep the cpp comment as is character after the //. EditorType=string Enabled=false ValueDefault= [cmt_keep-char_cpp_2] CallName=-cmt_keep-char_cpp_2- Category=5 Description=(2) Keep the cpp comment as is character after the //. EditorType=string Enabled=false ValueDefault= [cmt_keep-char_cpp_3] CallName=-cmt_keep-char_cpp_3- Category=5 Description=(3) Keep the cpp comment as is character after the //. EditorType=string Enabled=false ValueDefault= [cmt_keep-char_cpp_4] CallName=-cmt_keep-char_cpp_4- Category=5 Description=(4) Keep the cpp comment as is character after the //. EditorType=string Enabled=false ValueDefault= [cmt_sep_char_1] CallName=-cmt_sep_char_1- Category=5 Description="Set the special character to fill automatic comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
===================
comment
comment
===================
*/
//
// =================
// comment
// =================
//
-no-cmt_sep_break-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* =================
comment
comment
=================== */
// =================
// comment
// =================
-cmt_sep_char_1-O" EditorType=string Enabled=true ValueDefault=~ [cmt_sep_char_2] CallName=-cmt_sep_char_2- Category=5 Description="Set the special character to fill automatic comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$1-OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO*/
/*$1
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
*/
-cmt_sep_char_2-#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$2-####################################*/
/*$2
##########################################
##########################################
*/
Note(s) :
- /*$- */ is a special form comment recognized by GC.
This is a single line comment.
- /*$*/ is a special form comment recognized by GC.
This is a multiline comment.
-cmt_sep_char_1-O" EditorType=string Enabled=true ValueDefault=- [cmt_sep_char_3] CallName=-cmt_sep_char_3- Category=5 Description="Set the special character to fill automatic comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$1-OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO*/
/*$1
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
*/
-cmt_sep_char_2-#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$2-####################################*/
/*$2
##########################################
##########################################
*/
Note(s) :
- /*$- */ is a special form comment recognized by GC.
This is a single line comment.
- /*$*/ is a special form comment recognized by GC.
This is a multiline comment.
-cmt_sep_char_1-O" EditorType=string Enabled=true ValueDefault="=" [cmt_sep_char_4] CallName=-cmt_sep_char_4- Category=5 Description="Set the special character to fill automatic comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$1-OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO*/
/*$1
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
*/
-cmt_sep_char_2-#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$2-####################################*/
/*$2
##########################################
##########################################
*/
Note(s) :
- /*$- */ is a special form comment recognized by GC.
This is a single line comment.
- /*$*/ is a special form comment recognized by GC.
This is a multiline comment.
-cmt_sep_char_1-O" EditorType=string Enabled=true ValueDefault=* [cmt_sep_char_5] CallName=-cmt_sep_char_5- Category=5 Description="Set the special character to fill automatic comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$1-OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO*/
/*$1
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
*/
-cmt_sep_char_2-#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$2-####################################*/
/*$2
##########################################
##########################################
*/
Note(s) :
- /*$- */ is a special form comment recognized by GC.
This is a single line comment.
- /*$*/ is a special form comment recognized by GC.
This is a multiline comment.
-cmt_sep_char_1-O" EditorType=string Enabled=true ValueDefault=# [cmt_sep_char_6] CallName=-cmt_sep_char_6- Category=5 Description="Set the special character to fill automatic comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$1-OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO*/
/*$1
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
*/
-cmt_sep_char_2-#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$2-####################################*/
/*$2
##########################################
##########################################
*/
Note(s) :
- /*$- */ is a special form comment recognized by GC.
This is a single line comment.
- /*$*/ is a special form comment recognized by GC.
This is a multiline comment.
-cmt_sep_char_1-O" EditorType=string Enabled=true ValueDefault=+ [cmt_sep_char_split] CallName=-cmt_sep_char_split- Category=5 Description="Define the special break line character in comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$1-OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO*/
/*$1
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
*/
-cmt_sep_char_2-#
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*$2-####################################*/
/*$2
##########################################
##########################################
*/
Note(s) :
- /*$- */ is a special form comment recognized by GC.
This is a single line comment.
- /*$*/ is a special form comment recognized by GC.
This is a multiline comment.
before" EditorType=string Enabled=true ValueDefault= [cmt_sep_eol_before] CallName=-cmt_sep_eol_before- Category=5 Description="Set the number of blank lines before and after single-line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* coucou salut */
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* coucou
* salut
*/
See option(s) :
[-no]-cmt_first_line_concat-
[-no]-cmt_cpp2c_keep_eol-
Note(s) :
- GC uses this special character to keep trace of EOL when converting
C++ comments to C comments. or to concat first line comments.
-cmt_sep_eol_before-1" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_after] CallName=-cmt_sep_eol_after- Category=5 Description="Set the number of EOL before and after special first line comments.
-cmt_sep_eol_after-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo()
// Single line comment...
bar()
-cmt_sep_eol_before-0
-cmt_sep_eol_after-0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo()
// Single line comment...
bar()
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=0 [cmt_sep_eol_before_1] CallName=-cmt_sep_eol_before_1- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_before_2] CallName=-cmt_sep_eol_before_2- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_before_3] CallName=-cmt_sep_eol_before_3- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_before_4] CallName=-cmt_sep_eol_before_4- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_before_5] CallName=-cmt_sep_eol_before_5- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_before_6] CallName=-cmt_sep_eol_before_6- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=2 [cmt_sep_eol_after_1] CallName=-cmt_sep_eol_after_1- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_after_2] CallName=-cmt_sep_eol_after_2- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_after_3] CallName=-cmt_sep_eol_after_3- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_after_4] CallName=-cmt_sep_eol_after_4- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_after_5] CallName=-cmt_sep_eol_after_5- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [cmt_sep_eol_after_6] CallName=-cmt_sep_eol_after_6- Category=5 Description="Set the number of EOL before and after special first line comments.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_2-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=2 [cmt_sep_eol_before_fct_def] CallName=-cmt_sep_eol_before_fct_def- Category=5 Description="Set the number of blank lines before a function defintion comment.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
-cmt_sep_eol_before_2-1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
/*$2
==========================================
==========================================
*/
...
Note(s) :
- Only automatic comments and /*$*/ comments are concerned.
The /*$- */ comment is not concerned.
-cmt_sep_eol_before_fct_def-0" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=0 [cmt_sep_force_fct_proto] CallName=-cmt_sep_force_fct_proto- Category=5 Description="Set the comment level for comments found in a given position :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
==========================================
proto
==========================================
*/
void fct(void)
{
}
/*
==========================================
proto
==========================================
*/
void fct1(void)
{
}
-cmt_sep_eol_before_fct_def-2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
==========================================
proto
==========================================
*/
void fct(void)
{
}
/*
==========================================
proto
==========================================
*/
void fct1(void)
{
}
See option(s) :
-code_remove_empty_lines-
Note(s) :
-code_remove_empty_lines- has a highter priority.
-cmt_sep_force_fct_proto-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=0 [cmt_sep_force_fct_macro] CallName=-cmt_sep_force_fct_macro- Category=5 Description="Set the comment level for comments found in a given position :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* proto */
extern int func(void)
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
------------------------------------------
proto
------------------------------------------
*/
extern int func(void)
See option(s) :
[-no]-cmt_add_fct_def-
[-no]-cmt_add_class_access-
-cmt_sep_force_fct_proto-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=3 [cmt_sep_force_fct_def] CallName=-cmt_sep_force_fct_def- Category=5 Description="Set the comment level for comments found in a given position :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* proto */
extern int func(void)
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
------------------------------------------
proto
------------------------------------------
*/
extern int func(void)
See option(s) :
[-no]-cmt_add_fct_def-
[-no]-cmt_add_class_access-
-cmt_sep_force_fct_proto-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=3 [cmt_sep_force_class_access] CallName=-cmt_sep_force_class_access- Category=5 Description="Set the comment level for comments found in a given position :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* proto */
extern int func(void)
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
------------------------------------------
proto
------------------------------------------
*/
extern int func(void)
See option(s) :
[-no]-cmt_add_fct_def-
[-no]-cmt_add_class_access-
-cmt_sep_force_fct_proto-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=2 [cmt_sep_force_struct] CallName=-cmt_sep_force_struct- Category=5 Description="Set the comment level for comments found in a given position :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* proto */
extern int func(void)
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
------------------------------------------
proto
------------------------------------------
*/
extern int func(void)
See option(s) :
[-no]-cmt_add_fct_def-
[-no]-cmt_add_class_access-
-cmt_sep_force_fct_proto-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=2 [cmt_sep_force_class] CallName=-cmt_sep_force_class- Category=5 Description="Set the comment level for comments found in a given position :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* proto */
extern int func(void)
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
------------------------------------------
proto
------------------------------------------
*/
extern int func(void)
See option(s) :
[-no]-cmt_add_fct_def-
[-no]-cmt_add_class_access-
-cmt_sep_force_fct_proto-2" EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=3 [file_end_eol] CallName=-file_end_eol- Category=6 Description=Set the number of EOL after the last token of the file. EditorType=numeric Enabled=true MaxVal=2000 MinVal=0 ValueDefault=1 [token_ext] CallName=-token_ext- Category=6 Description="Tell GC to consider the user keyword as the given C/C++ keyword.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* proto */
extern int func(void)
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
------------------------------------------
proto
------------------------------------------
*/
extern int func(void)
See option(s) :
[-no]-cmt_add_fct_def-
[-no]-cmt_add_class_access-
-token_ext-typedef$tt" EditorType=string Enabled=false ValueDefault= [replace_on] Category=6 Description="Ac
=> tt has the same meaning as typedef
-token_ext-extern$extern_all
=> extern_all has the same meaning as extern
-token_ext-int$uint8
-token_ext-int$uint16
=> uint8 and uint16 are some types (same as int).
GC knows special keywordsyou can specify as a C/C++ keyword.
GC will indent the corresponding source file word depending of the
special word :
-token_ext-single_word$tt
tt will be alone on a line. Indent at the correct indentation
level.
-token_ext-single_word_0$tt
tt will be alone on a line. and at column 0.
Example : -token_ext-single_word_0$WORD
-token_ext-single_word_0$WORD1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void a(int b)
{
if(b)
{
WORD
b++
WORD1
}
}
tivate/disactivate the word replacement mode." EditorType=boolean TrueFalse=-replace_on-|-no-replace_on- ValueDefault=1 [replace] CallName=-replace- Category=6 Description="GC will replace all occurrences of
See options(s) :
-replace-$
-replace-int$uint" EditorType=string Enabled=false ValueDefault=
-replace-a$variable
before
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int a
int b
after
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uint variable
uint b
See options(s) :
[-no]-replace_on-
ependencies- Activate/Deactivate the output of file dependencies." EditorType=boolean TrueFalse=-dependencies-|-no-dependencies- ValueDefault=0 [dependencies_all] Category=6 Description="-d
With -dependencies_all- Real dependencies will be computed (instead of
just includes dependencies). This option takes much longer. but does a
better job.
-dependencies- is ignored if -dependencies_all- is set to TRUE.
typical report
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Processing C:oulotCourcesndent.c (136 lines. 3360 characters)
Processing ctype.h
** Warning: Unable to open source file ==> ctype.h
Processing malloc.h
** Warning: Unable to open source file ==> malloc.h
Processing stdlib.h
** Warning: Unable to open source file ==> stdlib.h
Processing string.h
** Warning: Unable to open source file ==> string.h
Processing config.h
Processing in.h
Processing grammar.h
Processing lexi.h
Processing error.h
Processing tools.h
Processing indent.h
Processing assert.h
** Warning: Unable to open source file ==> assert.h
- Includes files --------------------------------------------------------
( 1) #include config.h
( 2) #include in.h
( 1) #include grammar.h
( 2) #include lexi.h
( 1) #include error.h
( 1) #include tools.h
( 1) #include indent.h
******** Unresolved 5 Total 12
- Scanning 1 ----------------------------------------------------------
.
- Direct dependencies ---------------------------------------------------
( 1) #include config.h
( 3) #include in.h
( 8) #include lexi.h
( 5) #include tools.h
( 21) #include indent.h
******** Total 5
- No dependencies -------------------------------------------------------
( 1) #include grammar.h
Included by C:oulotCourcesndent.c
( 1) #include error.h
Included by C:oulotCourcesndent.c
******** Total 2
-------------------------------------------------------------------------
ependencies- Activate/Deactivate the output of file dependencies." EditorType=boolean TrueFalse=-dependencies_all-|-no-dependencies_all- ValueDefault=0 [dependencies_dir] CallName=-dependencies_dir- Category=6 Description="When -dependencies- option is activated. defines a path where GC
With -dependencies_all- Real dependencies will be computed (instead of
just includes dependencies). This option takes much longer. but does a
better job.
-dependencies- is ignored if -dependencies_all- is set to TRUE.
typical report
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Processing C:oulotCourcesndent.c (136 lines. 3360 characters)
Processing ctype.h
** Warning: Unable to open source file ==> ctype.h
Processing malloc.h
** Warning: Unable to open source file ==> malloc.h
Processing stdlib.h
** Warning: Unable to open source file ==> stdlib.h
Processing string.h
** Warning: Unable to open source file ==> string.h
Processing config.h
Processing in.h
Processing grammar.h
Processing lexi.h
Processing error.h
Processing tools.h
Processing indent.h
Processing assert.h
** Warning: Unable to open source file ==> assert.h
- Includes files --------------------------------------------------------
( 1) #include config.h
( 2) #include in.h
( 1) #include grammar.h
( 2) #include lexi.h
( 1) #include error.h
( 1) #include tools.h
( 1) #include indent.h
******** Unresolved 5 Total 12
- Scanning 1 ----------------------------------------------------------
.
- Direct dependencies ---------------------------------------------------
( 1) #include config.h
( 3) #include in.h
( 8) #include lexi.h
( 5) #include tools.h
( 21) #include indent.h
******** Total 5
- No dependencies -------------------------------------------------------
( 1) #include grammar.h
Included by C:oulotCourcesndent.c
( 1) #include error.h
Included by C:oulotCourcesndent.c
******** Total 2
-------------------------------------------------------------------------
-dependencies_dir-c:/system/includes" EditorType=string Enabled=false ValueDefault=./ [dependencies_dir_rec] Category=6 Description="Al
-dependencies_dir-c:/GC/sources
l directories set with -dependencies_dir- are recurs scan." EditorType=boolean TrueFalse=-dependencies_dir_rec-|-no-dependencies_dir_rec- ValueDefault=0
See options(s) :
[-no]-dependencies_dir-