Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Console killerNew to Visual Studio Code? Get it now.
Console killer

Console killer

Just Mahmoud

|
60 installs
| (3) | Free
Remove console.log from your project before the deployment
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Console Killer

Console Killer is a Visual Studio Code extension that helps you comment console.log() statements from your JavaScript files with ease.

Features

  • Detects and comments console.log() statements from your active JavaScript file.
  • Notifies you when console.log() statements are found and commented.
  • Works seamlessly within the VS Code editor.

Installation

You can install Console Killer directly from the Visual Studio Code Marketplace. Follow these steps:

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the square icon on the sidebar or by pressing Ctrl+Shift+X.
  3. Search for "Console Killer" in the Extensions view search box.
  4. Click on the install button for "Console Killer" by JustMahmoud.

Usage

  1. Open the JavaScript file from which you want to remove console.log() statements.
  2. Make sure the file is active in the editor.
  3. Open the Command Palette by pressing Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac).
  4. Type "Console Killer" and select the provided command to run the extension.
  5. The extension will detect and remove console.log() statements from the active file.
  6. You will receive a notification indicating whether any statements were removed.

Known Issues

  • The extension may not handle complex console.log() statements with concatenated strings or nested structures effectively.
  • It does not comment console.log() statements from external JavaScript files.

Feedback

Your feedback is valuable! If you encounter any issues or have suggestions for improvement, please feel free to submit them in the GitHub repository.

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