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

Pro-Code Cleaner

kamruj-akash

|
33 installs
| (1) | Free
Clean your JavaScript/TypeScript code for production with a single command!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pro-Code Cleaner 🧹✨

Version Installs License: MIT

Clean your JavaScript/TypeScript code for production with a single command!

Have you ever pushed code to production and realized you left console.log statements scattered everywhere? Manually cleaning up your code before a final commit can be tedious and error-prone.

Pro-Code Cleaner is a simple yet powerful VS Code extension designed to automate this process, ensuring your codebase is neat, clean, and production-ready.


✅ Features

  • Remove All Console Statements: Instantly strips out all console statements, including console.log(), console.error(), console.warn(), console.debug(), and console.info().
  • Collapse Empty Lines: Automatically collapses multiple empty newlines into a single empty line, improving code readability.
  • Simple & Fast: Works with a single command, making your pre-commit cleanup process a breeze.

🚀 How to Use

  1. Open the file you want to clean.
  2. Open the Command Palette (Ctrl+Shift+P on Windows/Linux or ⌘+Shift+P on Mac).
  3. Type Clean Code for Production and press Enter.
  4. That's it! Your file is now clean and ready.

Demo GIF showing how the extension works


👨‍💻 About the Author

This extension is developed and maintained by Kamruj Akash. I'm a passionate web developer focused on creating tools that improve developer productivity and workflow.

Connect with me:

  • Website
  • GitHub
  • LinkedIn
  • Email

🛣️ Future Roadmap

We are constantly working to make Pro-Code Cleaner even better. Here are some features planned for future releases:

  • [ ] Option to run automatically on save.
  • [ ] Ability to remove debugger; statements.
  • [ ] Functionality to remove unused imports.
  • [ ] User settings to customize which rules to apply.

🤝 Contributing

Found a bug or have a feature request? We'd love to hear from you! Please open an issue on our GitHub Repository.


📄 License

This project is licensed under the MIT License. See the LICENSE file for more details.

Happy Cleaning!

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