Console Log Tracker is a productivity extension for Visual Studio Code that helps you manage console.log statements in your projects. Easily count, locate, comment, or delete logs directly from the status bar.
🚀 Features
Real-time Counter: Instantly see the number of console.log statements in your active file via the status bar.
Quick Navigation: Jump to the first occurrence of a console.log with a single click.
Bulk Operations:
Highlight: Visually mark all lines containing logs.
Comment All: Comment out every console.log statement to silence debug output.
Uncomment All: Restore commented logs when you need to debug again.
Delete All: Clean up your code by removing all console.log statements in one go.
📦 Installation
Open Visual Studio Code.
Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
Search for Console Log Tracker.
Click Install.
🛠 Usage
Open a supported file (JavaScript or TypeScript).
The Status Bar will show an item (e.g., $(bug) 5 Console Logs) indicating the count.
Click the status bar item to reveal the command menu.
Choose an action:
Highlight: Highlights all logs.
Locate: Moves cursor to the first log.
Comment: Comments out all logs.
Uncomment: Uncomments all logs.
Delete: Removes all logs.
💻 Supported Languages
JavaScript (.js)
JavaScript React (.jsx)
TypeScript (.ts)
TypeScript React (.tsx)
🤝 Contributing
Found a bug or have a feature request? Please open an issue on the GitHub Repository.