indentbyfold icon indicating copy to clipboard operation
indentbyfold copied to clipboard

Doesn't ignore // comments

Open danj1980 opened this issue 8 years ago • 1 comments

I've tried out indentbyfold to format some C code and it is not ignoring comments such as //{ It treats it as if the code is real and indents the real code.

danj1980 avatar Feb 01 '17 17:02 danj1980

I second this issue. I have code written like this: for(int i; i < count; i++) { //if(bool == true) { a = b + c; //} } and the indentation fails because it takes in account the commented closing bracket.

kenijo avatar Sep 13 '17 20:09 kenijo