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

Console Counter

codingyaari

|
1 install
| (1) | Free
Easily count and remove console statements in your code files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Console Counter 📟

Insert, count, and remove console.log statements automatically in JavaScript/TypeScript files — with instant keyboard shortcuts to keep your codebase clean and production-ready.


🚀 What is Console Counter?

Console Counter is a lightweight VS Code extension that helps you count and remove all console statements in your current file.
No more manual searching or deleting logs — just one shortcut and you're done. ⚡


✨ Features at a Glance

✔️ Count Console Logs – Instantly see how many console statements exist in the current file.
✔️ Remove All Console Logs – Clean your file from all console statements in one shortcut.
✔️ File-Specific Context – Results always show the file name for better clarity.
✔️ Smart Handling – If no console statements are found, you get a friendly notification.
✔️ Keyboard Shortcuts – Super quick commands for count and remove.


🎹 Keyboard Shortcuts

Action Shortcut Description
Count Consoles Alt+T Shows the number of console statements in the current file
Remove Consoles Alt+R Removes all console statements in the current file

🖼️ Screenshots

👉 Counting Consoles
📟 Console Count: 5 : PostPreview.jsx 👉 Removing Consoles
🧹 PostPreview.jsx : All console logs removed!

👉 No Consoles Found
❌ No console logs found in PostPreview.jsx

vsce publish patch

🔧 Configuration & Customization

Currently, Console Counter is zero-config — it works out of the box.
In future updates, you’ll be able to:

✅ Customize which console methods to track (log, warn, error, etc.)
✅ Change keyboard shortcuts
✅ Ignore specific files/folders


💼 Why Console Counter?

While debugging, console.log is your best friend — but in production, it’s your enemy.
This extension helps you keep your project clean with one tap instead of manual cleanup. 🧹


📖 Changelog

v0.0.1

  • Initial release 🎉
  • Added count and remove features with shortcuts.
  • Smart notification when no consoles are found.

💙 Support

Console Counter is open-source and built with ❤️ for developers.
If you enjoy using it, please ⭐ the repository and share it with your dev friends.


📧 Contact

Feel free to reach out or follow me on these platforms:

| Platform | Link | |-----------------|------| | 🌐 GitHub | github.com/codingyaari | | 📦 NPM | npmjs.com/~codingyaari | | 💬 StackOverflow | stackoverflow.com/users/31368342/codingyaari | | ▶️ YouTube | youtube.com/@codingyaari | | 👍 Facebook | facebook.com/profile.php?id=61579800007414 | | 📸 Instagram| instagram.com/codingyaari | | 🐦 X (Twitter) | x.com/codingyaari | | 📧 Gmail | codingyaari@gmail.com |

📜 License

Released under the MIT License.
Free to use for personal and commercial projects.

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