Cut down on the noise and focus on the logic by hiding comments & prints in your code with a single shortcut.
Note
Interested in more languages? You can contribute by opening an issue or a pull request to add supports.
- 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.
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) orCmd+Shift+X(macOS). - Search for
ZenComPrintand install.
To toggle comments and print statements:
- Press
Cmd+H(macOS) orCtrl+H(Windows/Linux) to toggle comments and prints off/on.
or
- Use the command
> Hide Comments & Printsfrom the command palette, accessible by pressingCmd+Shift+P(macOS) orCtrl+Shift+P(Windows/Linux).
Note
To see the current state of comments and prints, check the status bar.
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.
Enjoy coding more cleanly with ZenComPrint!
