CommentCleaner
Welcome to the CommentCleaner VS Code Extension! This extension enhances your coding experience by allowing you to seamlessly clean comments from your code in various programming languages.
Features
- Remove Comments Functionality: CommentCleaner provides "Remove Comments" functionality that allows users to remove comments from the currently open code file.
- Multi-Language Support: CommentCleaner supports multiple programming languages, including JavaScript, Python, Java, C#, Ruby, PHP, Go, Swift, Kotlin, C/C++, Rust, TypeScript, Lua, PowerShell, YAML, Dart, and Perl.
- Language-Specific Comment Removal: The extension is designed to recognize the language of the currently open file and apply language-specific comment removal patterns.
- Access to Active Text Editor: The extension retrieves the currently active text editor in VSCode, allowing it to operate on the content of the open file.
- Text Replacement: CommentCleaner replaces the entire content of the open file with the modified text that no longer contains comments.
Installation
- Launch Visual Studio Code.
- Open the Extensions view by clicking on the square icon in the left sidebar or by pressing
Ctrl+Shift+X
(Cmd+Shift+X
on macOS).
- Search for "CommentCleaner" in the Extensions Marketplace.
- Click on the "Install" button for the CommentCleaner VS Code Extension.
- Once installed, click on the "Reload" button to activate the extension.
Usage
To remove comments using CommentCleaner, follow these steps:
- Open any file in Visual Studio Code.
- Click on the CommentCleaner button in the editor title menu OR Press
Ctrl+'
(Cmd+'
on macOS) to remove comments from the file.
- CommentCleaner will automatically clean the comments for the selected programming language.
https://github.com/kevinpaul468/commentcleaner/assets/121682091/2c9e257a-abf2-4968-bc0d-29e7b72308b4
Feedback and Contributions
Feedback and contributions are highly appreciated! If you encounter any issues, have suggestions for improvements, or would like to contribute to the project, please visit the GitHub repository for the CommentCleaner VS Code Extension.
License
This extension is released under the MIT License.
Credits
The CommentCleaner extension was created by Mihir Panchal. Special thanks to the following contributors for their valuable input and support.
Thank you for choosing the CommentCleaner VS Code Extension! We hope you find it useful and enjoy enhancing your coding experience with seamless comment cleaning . If you have any questions or need assistance, feel free to reach out. Happy coding!