PrintPurge is a Visual Studio Code extension that helps developers by automatically removing all print/debug statements in their code. The extension supports multiple programming languages including JavaScript, Python, Java, C++, and many more.
- Removes
console.log
from JavaScript files - Eliminates
print
statements from Python scripts - Cleans up
System.out.println
in Java code - Supports multiple programming languages
- Simple and lightweight
- Open VS Code
- Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window
- Search for "PrintPurge" and install it
- Open a file you want to clean up
- Press
Ctrl+Shift+P
to open the command palette - Type "Remove Print Statements" and hit enter
- JavaScript/TypeScript
- Python
- Java
- C/C++
- C#
- Ruby
- PHP
- Rust
- Add support for more programming languages
- Implement customization options
If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.
MIT