Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Clean TreeNew to Visual Studio Code? Get it now.
Clean Tree

Clean Tree

Hashir Sajid

|
3 installs
| (0) | Free
Generates a clean project file tree by hiding dependencies and hidden folders.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Clean Tree Logo # 🌳 Clean Tree [![Version](https://img.shields.io/visual-studio-marketplace/v/HashirSajid.clean-tree?style=flat-square&color=007acc)](https://marketplace.visualstudio.com/items?itemName=HashirSajid.clean-tree) [![Installs](https://img.shields.io/visual-studio-marketplace/i/HashirSajid.clean-tree?style=flat-square)](https://marketplace.visualstudio.com/items?itemName=HashirSajid.clean-tree)

A high-performance VS Code extension designed for developers who need to visualize and share project structures without the noise.


🎥 See it in Action


✨ Key Features

  • Interactive Webview Panel: View your tree in a dedicated, high-fidelity UI tab.
  • Smart Folder Grouping: Automatically pushes folders to the top and files to the bottom, just like the native VS Code explorer.
  • Intelligent Filtering: Instantly toggle off node_modules, .git, dist, venv, and other dependency clutter.
  • Developer Icons: Built-in support for DevIcons and FontAwesome, giving your tree a professional, modern look.
  • One-Click Export: Save your cleaned-up tree directly to a .txt file for documentation or READMEs, or copy it straight to your clipboard.
  • Persistent State: Your toggle preferences (Icons, Folders, Files) are saved across sessions!

📸 Visual Tour

Here is a closer look at what Clean Tree can do:

Preview 01

Preview 02

Preview 03

Preview 04

Preview 05


🚀 How to Use

  1. Open a Project: Open any folder in VS Code.
  2. Generate Tree: * Right-click any folder in the Explorer and select Clean Tree: Generate.
    • OR use the shortcut: Ctrl+Shift+Alt+C (Windows/Linux) or Cmd+Shift+Alt+C (Mac).
  3. Customize: Use the controls at the top of the webview to customize your output.
  4. Save/Copy: Click the Save button to export your tree to your project root, or hit Copy to paste it anywhere.

🛠️ Built With

  • TypeScript - Core Extension Logic
  • VS Code Extension API - Integration
  • FontAwesome & DevIcons - Visual Styling

👨‍💻 About the Author

"Hi, I'm Hashir! 👋 I'm passionate about building tools that make developers' lives easier. If you find this extension helpful in your workflow, I'd love to connect with you!"

  • GitHub: @hashirsajid58200p
  • LinkedIn: linkedin.com/in/hashirsajid

Created with ❤️ by Hashir Sajid
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft