Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Nest Decorator CleanerNew to Visual Studio Code? Get it now.
Nest Decorator Cleaner

Nest Decorator Cleaner

Mauricio Torales

|
6 installs
| (0) | Free
Nestjs decorator cleaner
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NestJS Decorator Cleaner Extension

About This Extension

The NestJS Decorator Cleaner is a powerful VS Code extension designed to improve code readability in NestJS applications. It allows you to:

  • Toggle visibility of NestJS decorators throughout your codebase
  • Focus on the business logic by hiding the often lengthy decorator syntax
  • Easily switch between clean view (decorators hidden) and complete view (decorators visible)
  • Customize which decorators should be hidden or shown

This extension is perfect for developers working with NestJS who want to enhance their code reading experience without the visual distraction of multiple stacked decorators.

Usage

  • After installation, you can toggle decorator visibility by using the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and typing "Toggle NestJS Decorators".
  • You can also use the provided keyboard shortcut or click the decorator toggle button in the editor toolbar.
  • Configure which decorators to hide/show in the extension settings.

Configuration

Access the extension settings through VS Code Preferences:

  • nestDecoratorCleaner.decoratorsToHide: List of decorator prefixes to hide (default includes common NestJS decorators)
  • nestDecoratorCleaner.hideByDefault: Whether decorators should be hidden when opening a file (default: false)
  • nestDecoratorCleaner.showToggleButton: Whether to show the toggle button in the editor toolbar (default: true)

Feedback and Contributions

Issues and contributions are welcome in the GitHub repository. For feature requests or bug reports, please open an issue.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft