Hi, I need to follow strict ANSI-C coding standards on a project. From my understanding, ANSI-C only supports comments that are in the style of block comments. The issue is when I press the shortcut CTRL-/, I still get line comments in the format of:
// if (something == 0) break;
But what I really need is the comment to be in this format:
/* if (something == 0) break; */
I did change the C_Cpp.default.cStandard to c89 but it has no effect. How can I solve this issue? Because now commenting out lines are very cumbersome, I need to manually select the line and then press CTRL-SHIFT-A. Thanks!
Hi, I need to follow strict ANSI-C coding standards on a project. From my understanding, ANSI-C only supports comments that are in the style of block comments. The issue is when I press the shortcut
CTRL-/, I still get line comments in the format of:// if (something == 0) break;But what I really need is the comment to be in this format:
/* if (something == 0) break; */I did change the
C_Cpp.default.cStandardto c89 but it has no effect. How can I solve this issue? Because now commenting out lines are very cumbersome, I need to manually select the line and then pressCTRL-SHIFT-A. Thanks!