pp_indent_region
Category: Preprocessor options
Type: numeric [-16 .. 16]
Default: 0
The indent for '#region' and '#endregion' in C# and '#pragma region' in C/C++. Negative values decrease indent down to the first column.
| raw CPP code | pp_indent_region=0 |
|---|---|
| /*-- this is the default sample --*/ int main(int argc, char** argv){ int n = 0; if(arg>=1){ printf("Hello %s!\n", argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } return n; } | /*-- this is the default sample --*/ int main(int argc, char** argv){ int n = 0; if(arg>=1){ printf("Hello %s!\n", argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } return n; } |
Not the best code for this option? See how to improve the .uds file used to generate these examples.