mod_sort_incl_import_prioritize_filename
Category: Code modifying options (non-whitespace)
Type: boolean [false, true]
Default: false
Whether to prioritize '#include' and '#import' statements that contain filename without extension when sorting is enabled.
| raw CPP code | mod_sort_incl_import_prioritize_filename=false | mod_sort_incl_import_prioritize_filename=true |
|---|---|---|
| /*-- 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; } | /*-- 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.