Does any way that we can adjust comment(ctrl + shift + C) and uncomment(ctrl + shift + X) from // to /* */?
Mmh... I'm afraid this is not possible, but you could file a feature request.
Hence /* ... */ is different: You can comment large code sections like this:
/*
... large code section ...
... several lines of code ...
*/
So you only need 4 characters to enter. :)
(this is the first time I heard that // is not proper comment in C :o )
Compile for at least C99 to make them valid (gcc option --std=c99).
I just want to skip some section of my code temporarily.
You may want to use #if 0 to temporarily skip parts of the code:
#if 0
puts("this will be skipped"); /* comment */
...
#endif
- osdt