Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Folder Structure ExtractorNew to Visual Studio Code? Get it now.
Folder Structure Extractor

Folder Structure Extractor

Ferdous Kazemi

|
8 installs
| (1) | Free
Right-click any folder to generate a beautiful tree structure
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

📁 Folder Structure Generator

Generate a beautiful folder tree directly from the VS Code Explorer — right-click any folder and you're done.


Usage

  1. Right-click any folder in the Explorer sidebar
  2. Hover over "📁 Generate Folder Structure"
  3. Pick your depth:
Option Description
Top Level Only Immediate children only
2 Levels Deep Children + their children
3 Levels Deep One more level down
Custom Depth... Type any number from 1–20
  1. A panel opens beside your code with the generated tree

Output

![Folder Structure Extractor Demo](https://raw.githubusercontent.com/ferdouskazemi/folder-structure-extractor/main/demo.png)

Panel Controls

  • 📋 Copy — copies the full tree to your clipboard
  • ✨ Icons On / 🚫 Icons Off — toggle emoji icons on or off

Settings

Go to Settings and search "Folder Structure" to customize:

Setting Default Description
folderStructure.ignore node_modules, .git, dist... Items to skip
folderStructure.showFiles true Show files alongside folders
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft