sp_after_semi

Add or remove space after ;, except when followed by a comment.

Possible values are ignore, add, remove and force. Default add.

Some values may conflict with mod_remove_extra_semicolon.

Examples

add

Code before:

int x=10;//following comment
int sum = 0;

x = 20*x;sum = sum + x;

Code after:

int x=10;//following comment
int sum = 0;

x = 20*x; sum = sum + x;

remove

Code before:

int x=10;//following comment
int sum = 0;

x = 20*x;  sum = sum + x;

Code after:

int x=10;//following comment
int sum = 0;

x = 20*x;sum = sum + x;

See also