plibither8 / vscode-remove-comments

🚫 VS Code extension to remove all comments from your code at once — 60+ languages supported
https://marketplace.visualstudio.com/items?itemName=plibither8.remove-comments
MIT License
36 stars 13 forks source link

Removes the string which has Comment Delimiter #20

Open akpmohan07 opened 3 years ago

akpmohan07 commented 3 years ago

Language: C On using Remove all Comments Source: #include<stdio.h> int main(){ char s1[] = "qwf"; char s2[] = "/*bef*/"; char s3[] = "//ef"; /*bef*/ //ef } Output: #include<stdio.h> int main(){ char s1[] = "qwf"; char s2[] = "/*bef*/"; char s3[] = " }

The value assigned to s3 should not be removed.

rioj7 commented 2 years ago

@akpmohan07 Please use block code formatting (tripple backtick), your code is not single line