Clean up your codebase by effortlessly finding and removing AI-generated or unwanted emojis from your source code comments and strings.
Features
- 🧹 Clean Current File: Instantly strip all emojis from the active file.
- 📁 Clean Entire Workspace: Scan and clean your entire project folder in one go.
- 💾 Clean on Save: Automatically keep your files emoji-free every time you save.
- ⚙️ Customizable Settings: Configure which file extensions to scan (Dart, JavaScript, TypeScript, Python, Go, Rust, Kotlin, Java, and more).
How to Use
Commands
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and type:
Emoji Cleaner: Current File— Cleans emojis from the currently active editor.Emoji Cleaner: Workspace— Cleans emojis from all supported files in your workspace, displaying a detailed report of the files modified.
Context Menu
Right-click anywhere in an open editor and select Emoji Cleaner: Current File for quick access.
Extension Settings
This extension contributes the following settings:
emojiCleaner.removeOnSave: Set totrueto clean emojis automatically on save (defaults tofalse). It automatically ignores auto-saves to prevent cursor interruption.emojiCleaner.fileExtensions: A list of file extensions to target for cleanup. Defaults to:["dart", "kt", "java", "js", "ts", "tsx", "jsx", "py", "go", "rs"]
License
This extension is licensed under the MIT License.