
🛠️ Essential utilities to boost your development productivity
DevToolbox is a lightweight VS Code extension that provides essential developer utilities right in your sidebar. Clean up your code, manage Git branches, and stay updated - all with a single click.
✨ Features
🗑️ Remove Console Logs
Instantly remove console.log() statements from your code.
- Current File: Cleans the active file immediately.
- Workspace: Scans the entire workspace for other logs and lets you select files to clean via a checkbox list.
Usage: Click the tool in sidebar from Command Palette
Strip comments (single-line and multi-line) from your code.
- Current File: Cleans the active file immediately.
- Workspace: Scans the entire workspace for other comments and lets you select files to clean via a checkbox list.
Usage: Click the tool in sidebar or run DevToolbox: Remove Comments from Command Palette
🌿 Prune Merged Branches
Clean up your local Git repository by removing branches that have already been merged into main/master.
- Interactive: Shows a list of all local branches with merged ones pre-selected.
- Safe: You can review and modify the selection before deletion.
Usage: Click the tool in sidebar or run DevToolbox: Prune Merged Branches from Command Palette
🔄 Auto-Update System
- ✅ Automatically checks for updates once per day
- ✅ Notifies you when new versions are available
- ✅ One-click download from GitHub Releases
- ✅ Manual update check available
Usage: Run DevToolbox: Check for Updates from Command Palette
🚀 Quick Start
- Install the extension
- Click the DevToolbox icon in the Activity Bar (left sidebar)
- Browse and click any tool to use it
- All tools also available via Command Palette (
Cmd/Ctrl+Shift+P)
📦 Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (
Cmd+Shift+X / Ctrl+Shift+X)
- Search for "DevToolbox"
- Click Install
From GitHub Releases
- Download the latest
.vsix from Releases
- In VS Code: Extensions →
... → Install from VSIX
⚙️ Configuration
Configure update checking in your VS Code settings:
{
"devtoolbox.updateCheck.owner": "andersseen",
"devtoolbox.updateCheck.repo": "dev-toolbox"
}
📋 Requirements
- VS Code 1.108.1 or higher
- Git (for branch pruning feature)
🎯 Use Cases
- Before committing: Remove console logs and clean up comments
- Repository maintenance: Prune old merged branches
- Code cleanup: Quickly strip debugging code
- Stay updated: Get notified of new features and fixes
🐛 Known Issues
- Branch pruning requires Git to be installed and available in PATH
- Update checking requires internet connection
📝 Release Notes
See CHANGELOG for detailed release notes.
Recent Updates
0.0.1 - Initial Release
- ✨ Remove Console Logs tool
- ✨ Remove Comments tool
- ✨ Prune Merged Branches tool
- ✨ Auto-update system with daily checks
- 🎨 Sidebar integration with Activity Bar icon
- ⚙️ Configurable update checking
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature)
- Commit your changes (
git commit -m 'Add some AmazingFeature')
- Push to the branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
📄 License
This extension is licensed under the MIT License.
💬 Support
Enjoy coding with DevToolbox! 🚀