Tired of pushing console.log() statements to production or spending minutes hunting them down file‑by‑file? Console .log Manager gives you a single, searchable dashboard for every console.log in your workspace—and lets you delete dozens at once with one click.
✨ Features
🔍 Workspace‑wide scan
Finds every console.log(...) in .js, .ts, .jsx, and .tsx files—multiline calls included.
🗂 Alphabetical file groups
Logs are grouped by file (sorted A → Z) and by line number.
✅ Bulk selection
• Shift‑click to select a range • Select all / Deselect all toggle per file
✂️ One‑click removal
Removes the entire line(s) of every selected statement (whitespace & newline too).
💾 No‑tab edits
Files are patched via the VS Code file‑system API—no editors pop open.
🔄 Live refresh
The panel updates automatically after deletes and whenever you save a file.
⚡ Fast & safe
Uses a tiny hand‑rolled parser to balance parentheses, so nested calls and template strings are handled correctly.
🚀 Quick start
Install from the VS Code Marketplace (Console.log Manager) or via vsix.
Open the Command Palette⇧⌘P / Ctrl + Shift + P → Console.log Manager: Select and Delete Logs.
Select the statements you want to drop:
Tick individual checkboxes or
Click Select all next to a file (toggles to Deselect all when everything is checked).
Click Delete Selected.
The panel shows a quick spinner while the extension rewrites the affected files and then refreshes.
Tip: Hold Shift when clicking a checkbox to select a range.
⚙️ Extension settings
Setting
Description
Default
consoleLogManager.includeGlobs
Additional glob patterns to include (comma‑separated).
—
consoleLogManager.excludeGlobs
Glob patterns to ignore (besides **/node_modules/**).
—
Add them under Settings → Extensions → Console.log Manager or in settings.json.
❗ Known limitations
Only scans JavaScript/TypeScript files (*.js, *.ts, *.jsx, *.tsx) right now.
Log helpers like console.error or custom wrappers aren’t matched—yet.
Feel free to open a PR!
🛠 Contributing
Fork the repo and create your feature branch: git checkout -b my‑feature.
Run the extension in the VS Code Extension Development Host (F5).
Commit your changes, push, and open a pull request.
Please include a short demo GIF for UI tweaks.