Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CleanCode ClickNew to Visual Studio Code? Get it now.
CleanCode Click

CleanCode Click

Subhankar Chakrabarti

|
68 installs
| (0) | Free
streamline your code with CleanCode Click - a simple, powerful tool to remove all comments from your code with just one click. The extension automatically detects and eliminate command lines, whether you're working in JavaScript, Python or any other supported language.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cleancode-click

This is a Visual Studio Code extension that allows users to remove all comments from the code with just a right-click. It works across various programming languages and removes both single-line and multi-line comments while keeping the code intact.

Features

  • Right-click to Remove Comments: Simply right-click on the code and choose the "Remove All Comments" option to clean up your code.
  • Supports Multiple Languages: Automatically detects the programming language and removes comments from:
    • JavaScript, TypeScript
    • Python
    • Java, C, C++, Go, Rust
    • HTML, CSS, PHP, Ruby
    • Shell Scripts
  • Single-line and Multi-line Comments: It removes both single-line and multi-line comments efficiently across supported languages.

Tip: You can hover over the "Remove All Comments" option to get more details on the action.

Requirements

No specific requirements are necessary for this extension. It works with any standard setup of Visual Studio Code.

Extension Settings

This extension does not add any custom configuration settings to Visual Studio Code.

Known Issues

  • The extension might not detect comments accurately in some edge cases (e.g., multi-line comments in HTML with inline code).

Release Notes

1.0.0

  • Initial release of "cleancode-click" with support for removing comments from multiple programming languages.

1.1.0

  • Fixed an issue with incorrect handling of multi-line HTML comments.
  • Added better handling of various types of comment formatting.

Following Extension Guidelines

Ensure that you've read through the extension guidelines and followed the best practices for creating your extension.

  • Extension Guidelines

Working with Markdown

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

Enjoy!

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