Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CleancoderNew to Visual Studio Code? Get it now.
Cleancoder

Cleancoder

Aleksa Gavric

|
41 installs
| (0) | Free
Hide your comments. Focus on the logic.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cleancoder

Hide comments, prints, and logs in your code with a single shortcut. Enjoy unobstructed coding experience.

Language Support

Python JavaScript TypeScript


[!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

  1. Open Visual Studio Code.
  2. 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).
  3. 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.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft