Hide comments, prints, and logs in your code with a single shortcut. Enjoy unobstructed coding experience.
Language Support
[!NOTE] Interested in more languages? You can contribute by opening an issue or a pull request to add support. I'll review and merge it!
Usage
Once you install this extension, it's painfully simple and straightforward, you either:
Toggle On - makes the comments, prints, and logs in your code invisible in the editor. You will not be able to see them in the editor, but they will still be there in the code, and to prevent mistakes, you won't be able to edit them.
or
Toggle Off - brings them back to the editor, and you can see them again like nothing ever happened :)
To active the toggle, you can either press Cmd+H (macOS) or Ctrl+H (Windows/Linux) or use the command > Cleancoder magic from the command palette, accessible by pressing Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux).
[!NOTE]
To see the current state of the toggle, check the status bar. This will make it easy to know the state at a glance.
Installation
Open Visual Studio Code.
Navigate to the Extensions view by clicking on the square icon on the sidebar, or by pressing Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS).
Search for Cleancoder and install.
Contributing
This is meant to be a community-driven project and I will not make any money from it, so feel free to contribute in any way you can:
Open an issue: If you encounter a bug or have a suggestion, let me know!
Submit a pull request: Implement a new feature or fix something and contribute directly to the project.