Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Comment EditorNew to Visual Studio Code? Get it now.
Comment Editor

Comment Editor

Santiago Malirat Canga

| (0) | Free
Remove comments from code using language-aware filters.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Comment Editor

Comment Editor is a VS Code extension that removes comments from code while respecting the syntax rules of each programming language.

Features

  • Removes single-line and multi-line comments.
  • Language-aware rules.
  • Supports JavaScript, TypeScript, Java, C, C++, C#, PHP, Ruby, Bash, and more.

Commands

Command Description
Remove Comments Deletes all comments in the current file

For now, you can run it from:

  • Command Palette (Ctrl+Shift+P)
  • Typing: Remove Comments

Release Notes

1.0.0

  • Initial release with comment removal.

Known Issues

  • Some URLs containing // may be detected as comments. Future versions are under development and will include smarter parsing.

Requirements

No external dependencies.


Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft