I\'m writing ANSI-compatible C code, and hence I can\'t use the line (//
) comment. I\'m using Xcode. In Sublime Text and Eclipse, and I think most other IDEs, t
There is a symbol before help menu on xcode which has Edit user script. On Un/Comment Selection under comments section change my $cCmt = "//"; to my $cCmt = "#"; or whatever your IDE works with. Then by selecting lines and command + / (It's my xcode default) you can comment and uncomment the selected lines.