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

Generate From Tree

GoekhanDev

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

🌳 Tree Builder from TXT

Create full folder & file structures in seconds — right from a simple text-based tree!

Banner

✨ Features

  • 🏗 Build entire directory structures from .txt files
  • ⚡ Instant creation with a single right-click
  • 🧠 Smart parsing of ASCII-style trees (├──, │, └──, etc.)

📋 How It Works

  1. Write your folder structure in a .txt file:

    project/
    ├── src/
    │   ├── index.js
    │   └── utils.js
    └── README.md
    
  2. Right-click the .txt file and select:
    "Build Tree from File"

  3. Watch your structure appear!

Demo of the extension

📦 Example Use Case

Useful for:

  • Bootstrapping projects
  • Prototyping file structures
  • Teaching file system concepts

🚀 Getting Started

  1. Install the extension from the Marketplace
  2. Prepare your .txt tree file
  3. Right-click → Build Tree → Done! ✅

🛠 Notes

  • Directories must end with a /
  • Empty files are created automatically
  • Supports nested folders up to any depth
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft