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
Open the file you want to clean.
Open the Command Palette (Ctrl+Shift+P on Windows/Linux or ⌘+Shift+P on Mac).
Type Clean Code for Production and press Enter.
That's it! Your file is now clean and ready.
👨💻 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.