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

cannot remove comment in js react #30

Closed qlife1146 closed 1 year ago

qlife1146 commented 1 year ago

vscode version: 1.74.2 my comment format is {/* ...multilines... */}. but, cannot remove this comment. how to remove multilines comment in js react?

rioj7 commented 1 year ago

@qlife1146

Do you mean your comment separators are {/* and */}?

Do you have a link describing this as comment separators.

I found: https://www.wisdomgeek.com/development/web-development/react/how-to-write-comments-in-react-jsx/

What is the languageID of these JSX files? ?? javascriptreact

If you create an issue at the other extension I will update that.


It looks like this is no longer maintained and it can only handle 1 type of line and block comment.

There is an alternative extensions that removes comments and it is possible to also remove the JDOC comments: Remove Comments

rioj7 commented 1 year ago

@qlife1146 Remove Comments v1.5.2 supports this comment style for JavaScript React

qlife1146 commented 1 year ago

oh, thank you so much