Broom Console is a Visual Studio Code extension that lets you quickly clean console.* statements from your code using simple keyboard shortcuts. No configuration, no setup — just install and use.
[](https://code.visualstudio.com/)



[](https://github.com/Mathiew82/broom-console/blob/master/LICENSE)
Features
- 🧹 Remove
console.log and console.debug
- 🔥 Remove all
console.* calls (log, debug, warn, error, info)
- ⌨️ Ready-to-use keyboard shortcuts
- ⚡ Works only on the currently opened file
- 🧠 Zero configuration: install and go
Usage
Remove console.log and console.debug
- Windows / Linux:
Alt + Shift + C
- macOS:
Option + Shift + C
Or via the Command Palette:
Broom Console: Remove console.log and console.debug
Remove all console.*
Includes:
console.log
console.debug
console.warn
console.error
console.info
Shortcut:
- Windows / Linux:
Alt + Shift + X
- macOS:
Option + Shift + X
Or via the Command Palette:
Broom Console: Remove all console methods
Example
Before
console.log("debug");
console.warn("warning");
const value = 42;
console.error(value);
After
const value = 42;
Installation
From the VS Code Marketplace:
- Open Extensions (
Ctrl + Shift + X)
- Search for Broom Console
- Install and enjoy 🧹
Contributing
Issues and pull requests are welcome.
💝 Thank you for using it
Created by Mathiew82: Github | Portfolio