Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Comment AI CleanerNew to Visual Studio Code? Get it now.
Comment AI Cleaner

Comment AI Cleaner

vincentzhu-o

|
2 installs
| (0) | Free
Clean useless comments from your code, powered by rules and optional AI
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Comment AI Cleaner 🧹

Clean useless comments from your code automatically.

Features

  • ✅ Rule-based cleaning — works offline, no API key needed
  • 🤖 Optional AI mode — powered by DeepSeek for smarter detection
  • ⚡ Clean entire file or selected code only
  • 🔧 Customizable patterns via regex

Usage

Clean entire file

Press Ctrl+Shift+Alt+C or use Command Palette:

🧹 清除无意义注释(整个文件)

Clean selected code

Select code → Right-click → 🧹 清除无意义注释(选中区域)

Configuration

Setting Default Description
commentAICleaner.useAI false Enable AI mode
commentAICleaner.deepseekApiKey "" Your DeepSeek API Key
commentAICleaner.customPatterns [] Custom regex patterns

AI Mode Setup

  1. Get your API Key from DeepSeek Platform
  2. Set commentAICleaner.deepseekApiKey in VSCode settings
  3. Enable commentAICleaner.useAI

License

MIT

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