Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Comment Remover (2024)New to Visual Studio Code? Get it now.
Comment Remover (2024)

Comment Remover (2024)

manny1_.

|
133 installs
| (1) | Free
Remove comments from your code with ease.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

COMMENTREMOVER 🧹

A powerful VSCode extension that removes comments from your code with advanced analytics! Supporting 25+ programming languages and providing detailed statistics about removed comments.

Version Languages Build

✨ Features

🎯 One-Click Comment Removal

Remove comments instantly while preserving code structure and indentation.

📊 Advanced Analytics Dashboard

  • Total comments removed
  • Comments preserved
  • Average comment length
  • Language-specific statistics
  • Detailed removal history
  • Beautiful dark-themed UI

🌍 Comprehensive Language Support

  • Web Development:

    • JavaScript, TypeScript (// and /* */)
    • HTML ( and /* */)
    • CSS (/* */)
  • General Purpose:

    • Python (# and """..."""/'''...''')
    • Java, C# (// and /* */)
    • Ruby (# and =begin...=end)
    • PHP (// and /* */)
    • Go (// and /* */)
  • System & Scripting:

    • Shell, PowerShell (#)
    • Batch (REM and ::)
    • Perl (# and =pod...=cut)
  • Specialized Languages:

    • SQL (-- and /* */)
    • MATLAB (% and %{...%})
    • R (#)
    • Lua (--)
    • Rust (// and /* */)
    • Swift (// and /* */)
    • Kotlin, Scala (// and /* */)
    • Haskell (--, {-...-})
    • Lisp (;)
    • Fortran (!)
    • Ada (--)
    • YAML, Dockerfile (#)

🛠 Smart Features

  • Intelligent indentation preservation
  • Format-aware removal
  • Comment type detection
  • Empty line handling
  • String literal protection

🚀 Usage

  1. Status Bar: Click Remove Comments button on the right side of your status bar
  2. Command Palette: Press Ctrl/Cmd + Shift + P and search for "Remove Comments"
  3. View Statistics: After removal, click "Show Statistics" to view detailed analytics

🎨 Configuration

The extension automatically detects your file type and applies the appropriate comment removal rules. No configuration needed!

🔍 Statistics View

Access comprehensive statistics about your comment removal:

  • Total comments removed
  • Comments by language
  • Comment density
  • Preservation ratio
  • Historical data

🔮 Coming Soon

  • Selective comment removal
  • Batch processing
  • Custom comment pattern support
  • Export statistics
  • Integration with version control

🐛 Known Issues

While we've significantly improved stability and feature support in 1.0.0, there are still some areas we're working on:

  • Performance optimization for extremely large files
  • Additional language-specific formatting options
  • Enhanced batch processing capabilities

📝 License

MIT License - feel free to use and modify!

👨‍💻 Author

Created by manny111111

🔄 Source Code

Source code will be available in the next update! Stay tuned for the GitHub repository release.


Note: If you encounter any issues or have feature requests, please feel free to open an issue on the GitHub repository once it's public!

Common Issue: Not seeing the "remove comment" button in status bar, just use command pallete.

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