🚀 Sweeper is a lightweight VS Code extension that removes AI-generated and unnecessary comments while keeping manually written ones intact.
✅ Removes AI-generated comments from supported file types
✅ Preserves meaningful comments for better readability
✅ One-click cleanup with an easy-to-use command
✅ Supports multiple programming languages
- React JS & TS
- Python
- JavaScript
- TypeScript
- C++
- Java
- SQL
- Open VS Code.
- Navigate to the Extensions Marketplace (Ctrl+Shift+X).
- Search for "Sweeper".
- Click Install.
Sweeper works automatically when you paste code in your editor.
But, in case you want to do it manually :
- Open a file containing comments.
- Press Ctrl+Shift+P, then type "Sweep Comments".
- Sweeper will intelligently remove AI-generated comments while preserving essential ones!
| Command | Description |
|---|---|
extension.removeComments |
Cleans AI-generated comments |
Sweeper works out of the box, but future updates may introduce custom filtering options for enhanced control.
🔹 Improved detection for different comment types
🔹 User-configurable settings for comment preservation
🔹 Expanded support for more programming languages
Have an idea? Found a bug? Submit an issue or a pull request to the Sweeper repository.
📝 MIT License – Free to use, modify, and distribute!

