Cut down on the noise and focus on the logic by hiding comments & prints in your code with a single shortcut.
Supports
[!NOTE]
Interested in more languages? You can contribute by opening an issue or a pull request to add supports.
Features
Toggle Comments & Prints: Quickly hide or show comments and print statements in your code to streamline your view. Once hidden, comments and prints are still present in the file but are not displayed - making it easier to focus on the logic.
Multi-Language Support: Constantly adding more languages to support, so you can use ZenComPrint across all your projects.
Easy Access: Using a simple shortcut, you can toggle comments and prints on and off, making it easy to switch between views. Check the status bar for a notification on the current state.
Installation
To install ZenComPrint:
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 ZenComPrint and install.
Usage
To toggle comments and print statements:
Press Cmd+H (macOS) or Ctrl+H (Windows/Linux) to toggle comments and prints off/on.
or
Use the command > Hide Comments & Prints from the command palette, accessible by pressing Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux).
[!NOTE]
To see the current state of comments and prints, check the status bar.
Contributing
This is meant to be a community-driven project, 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.