The Ultimate VSCode Extension for Code Quality Management
Remove & Manage Comments and Emojis from Code β Automatically clean your source code with advanced algorithms that find and remove unwanted inline comments, multiline comments, and emojis in 15+ programming languages.
π Website: codecleaner.highmark.it
ποΈ Marketplace: Install from VSCode Marketplace
| Feature | Description |
|---|---|
| π Ultra-Fast | Finds and removes comments & emojis in seconds |
| π― Precision | Advanced algorithms that prevent false positives |
| π Multi-Language | Supports 15+ programming languages out of the box |
| π¨ Smart Highlighting | Visual feedback with color-coded results |
| β¨οΈ Quick Navigation | Jump between occurrences with keyboard shortcuts |
| π Flexible Scanning | Search for comments, emojis, or both |
| π Detailed Reports | See exactly what will be removed before action |
| βοΈ Zero Config | Works instantly with no setup required |
Complete List (15+ languages):
- β
JavaScript -
//and/* */ - β
TypeScript -
//and/* */ - β
Python -
#,""", and''' - β
Java -
//and/* */ - β
C / C++ / C# -
//and/* */ - β
PHP -
//,#, and/* */ - β
HTML / XML -
<!-- --> - β
CSS / SCSS -
/* */ - β
Rust -
//and/* */ - β
Go -
//and/* */ - β
Kotlin -
//and/* */ - β
Swift -
//and/* */ - β
Ruby -
#and=begin...=end - β
SQL -
--and/* */ - β And More - Generic patterns for unlisted languages
Note: For languages not explicitly listed, Code Cleaner uses intelligent generic patterns that work with most common comment syntaxes.
- Find Inline Comments - Locate all single-line comments
- Find Multiline Comments - Locate all comment blocks
- Find Emojis - Locate all emoji characters in code
- Find All - Combine all searches in one operation
- Remove Inline Comments - Delete single-line comments
- Remove Multiline Comments - Delete comment blocks
- Remove Emojis - Delete all emoji characters
- Remove All - Perform complete cleanup in one step
- Navigate to Next Match - Jump to next occurrence
- Navigate to Previous Match - Jump to previous occurrence
- Clear Highlights - Remove all visual highlights
- Undo Changes - Standard Ctrl+Z undo support
- Open VSCode
- Go to Extensions (
Ctrl+Shift+X/Cmd+Shift+X) - Search for "Code Cleaner"
- Click Install
- Done! β
- Open VSCode
- Go to Extensions panel (
Ctrl+Shift+X) - Click the three dots β―
- Select "Install from VSIX..."
- Choose the extension file
- Restart VSCode
code --install-extension highmark-it.codecleaner- Open a code file in VSCode
- Right-click in the editor
- Select "Code Cleaner" from the context menu
- Choose your desired command
- View results and confirm action
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Type "Code Cleaner:" to filter commands
- Select the desired command
- Execute and view results
| Shortcut | Action |
|---|---|
Enter |
Go to next match |
Shift+Enter |
Go to previous match |
Escape |
Clear all highlights |
| Command | Description | Command ID |
|---|---|---|
| Find Inline Comments | Locate all // style comments |
codecleaner.findInlineComments |
| Find Multiline Comments | Locate all /* */ blocks |
codecleaner.findMultilineComments |
| Find Emojis | Locate all emoji characters | codecleaner.findEmojis |
| Remove Inline Comments | Delete all // comments |
codecleaner.removeInlineComments |
| Remove Multiline Comments | Delete all /* */ blocks |
codecleaner.removeMultilineComments |
| Remove Emojis | Delete all emoji characters | codecleaner.removeEmojis |
| Navigate to Next Match | Jump to next occurrence | codecleaner.navigateNext |
| Navigate to Previous Match | Jump to previous occurrence | codecleaner.navigatePrevious |
| Clear Highlights | Remove all highlighting | codecleaner.clearHighlights |
Before:
// TODO: Implement this function π
function calculateTotal(items) {
/**
* This function calculates the total
* of items in the cart π
*/
return items.reduce((sum, item) => sum + item.price, 0);
// Sum the prices π°
}After (with Code Cleaner):
function calculateTotal(items) {
return items.reduce((sum, item) => sum + item.price, 0);
}Before:
def greet_user(name): # Greeting function π
"""Greets the user with a personalized message π"""
return f"Hello {name}! π" # Welcome messageAfter (with Code Cleaner):
def greet_user(name):
"""Greets the user with a personalized message"""
return f"Hello {name}!"Before:
<div>
<!-- Header section π¨ -->
<header>Welcome</header> <!-- Top navigation -->
</div>After (with Code Cleaner):
<div>
<header>Welcome</header>
</div>β Code Reviews - Remove comments to focus on actual code β Production Deployment - Clean code before minification β Code Quality - Standardize codebase without noise β Learning - Focus on logic without comment distractions β Minification - Pre-clean before build tools β Code Sharing - Share clean code with teams β Refactoring - Identify dead comments β Legacy Code - Clean up old codebases
- Languages Supported: 15+
- Comment Syntaxes Handled: 20+
- Lines of Code: Minimal & optimized
- Performance: <100ms for typical files
- File Size: Lightweight (~50KB)
- Dependencies: Zero external dependencies
β
100% Local Processing - All operations run on your machine
β
No Data Collection - We don't track or analyze your code
β
No Internet Required - Works completely offline
β
Open Source - Code available for review
β
MIT Licensed - Free for personal and commercial use
1. Reload VSCode: Ctrl+Shift+P β "Reload Window"
2. Restart VSCode completely
3. Check that the extension is enabled
1. Make sure a file is open in the editor
2. Try using Ctrl+Shift+P for Command Palette
3. Check Extensions panel to verify installation
1. First use "Find" commands to preview results
2. Check for edge cases in your comment syntax
3. Report issues on GitHub with code examples
We welcome contributions! To help improve Code Cleaner:
- Fork the repository
- Create a branch for your feature
- Make your changes and test thoroughly
- Submit a Pull Request with detailed description
# Clone the repository
git clone https://github.com/HighMark-31/CodeCleaner.git
# Install dependencies
npm install
# Build the extension
npm run build
# Run tests
npm testSee CHANGELOG.md for detailed version history and updates.
- Bug fixes and performance improvements
- Enhanced emoji detection
- Better multiline comment handling
This project is licensed under the MIT License - see the LICENSE file for details.
You are free to:
- β Use commercially
- β Modify the code
- β Distribute it
- β Use privately
Conditions:
β οΈ Include license noticeβ οΈ State significant changes
- β Star this repository - Helps others discover it
- π Leave a review on the VSCode Marketplace
- π Report bugs with detailed examples
- π‘ Suggest features on our GitHub Issues
- π Share with developers in your network
- π Documentation: Check README and CHANGELOG
- π Report Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π Website: codecleaner.highmark.it
Developed by HighMark IT | Marco N.
- Batch processing for multiple files
- Custom comment pattern rules
- Before/after preview mode
- Comment statistics and reports
- Integration with build tools
- Custom language support
- Theme customization
- Performance analytics
Thank you for using Code Cleaner! β€οΈ
If you find this extension helpful, please consider leaving a β on GitHub and a review on the VSCode Marketplace. Your support drives development!
Version: 1.0.2
Last Updated: December 2024
License: MIT
Status: Active Development β