sp_cmt_cpp_doxygen
Category: Spacing options Type: boolean [false, true] Default: false
If true, space added with sp_cmt_cpp_start will be added after Doxygen sequences like '///', '///<', '//!' and '//!<'.
raw CPP code | sp_cmt_cpp_doxygen=false | sp_cmt_cpp_doxygen=true | space sp_cmt_cpp_doxygen=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; } | /*-- this is the default sample --*/ intmain(intargc,char**argv){ intn=0; if(arg>=1){ printf("Hello %s!\n",argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } returnn; } |
Not the best code for this option? See how to improve the .uds file used to generate these examples.