Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Console Log Remover - AdvancedNew to Visual Studio Code? Get it now.
Console Log Remover - Advanced

Console Log Remover - Advanced

Software Wizard

|
183 installs
| (1) | Free
Easily declutter your JavaScript and TypeScript files by removing all console.log statements with a single click. This VS Code extension efficiently scans your currently active file and strips out any console.log calls, helping you keep your code clean and production-ready. Perfect for developers lo
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

console-log-remover README

Easily remove the most complex console.log() statements from your code.

How to use

Cmd + Shift + P -> Console Log Remover or Alt + C

Features

  1. Single-line comment console.log(): This is the case when we comment out a console.log(), like so:
//console.log("foo");
  1. Single-line console.log() with single quotes:
console.log("boo");
  1. Single-line console.log() with multiple arguments:
console.log("firstName", firstName);
  1. Multiline console.log() statement:
console.log(
  "hello",
  foo(),
  "world",
  bar(),
  testVar,
  "testType",
  callbackFN(),
  "desc",
  desc
);
  1. Nested parentheses:
console.log("user", getUser(), "name", getName());

0.0.1

Initial release of Console Log Remover


Repository

https://github.com/kurucaner/console-log-remover

Enjoy!

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