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

Generate Folder Tree

Suuraw

|
58 installs
| (5) | Free
Materialize your project's architecture in seconds. This extension understands text-based file trees, allowing you to instantly generate a complete folder structure from sources like LLM suggestions, or manual drawn outlines which depicts folder structure
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

📁 Generate Folder Tree

Visual Studio Marketplace Version License

🚀 Quickly generate project folders and files right inside VS Code
✏️ Just paste or draw your structure in the panel
⚡️ Instantly create your entire project layout — no more clicking "New File" or "New Folder" again and again.

Demo of Generate Folder Tree


🚀 Features

✅ Rapid Scaffolding – Generate complex directory trees in your workspace in seconds.
✅ Multiple Input Formats – Use the format that feels most natural to you:

  • Markdown Tree (|--)
  • Indented Text (spaces or tabs)
  • Bullet Points (* or -)

✅ Simple & Intuitive – Write your structure, run one command, and you're done.


🛠️ How to Use

  1. Install the Generate Folder Tree extension.
  2. Open an empty folder in VS Code. This will be the root directory.
  3. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
  4. Type and select the command: Generate Folder Tree.
  5. An input panel will appear. Type or paste your structure in this panel.
  6. Press Enter. The structure is instantly created. 💥

✏️ Supported Formats: (Copy & Test Below)

1. Markdown Tree Format (|--)

.
|-- src/
|   |-- components/
|   |   |-- Button.jsx
|   |   |-- Modal.jsx
|   |-- hooks/
|   |-- pages/
|       |-- Home.jsx
|       |-- About.jsx
|-- public/
|   |-- index.html
|-- package.json
|-- .gitignore

2. Indentation Format (spaces or tabs)

src/
  components/
    Button.jsx
    Modal.jsx
  hooks/
  pages/
    Home.jsx
    About.jsx
public/
  index.html
package.json
.gitignore

3. Bullet Point Format (* or -)

* src/
  * components/
    * Button.jsx
    * Modal.jsx
  * hooks/
  * pages/
    * Home.jsx
    * About.jsx
* public/
  * index.html
* package.json
* .gitignore

⚙️ Extension Settings

You can configure Generate Folder Tree in your settings.json:

folderTree.overwriteExisting: boolean
// When true, existing files/folders with the same name will be overwritten. Default is false.

folderTree.ignoreFileName: string
// Name of the structure file to ignore when generating folders. Default is ".tree".

🧾 Release Notes

0.0.1

  • Initial release of Generate Folder Tree
  • Supports Markdown Tree, Indentation, and Bullet Point formats
  • Added command: Generate Folder Tree: Create from Text Outline

🤝 Contributing & Issues

Have a feature idea or spotted a bug? We'd love your help!

  • 🐞 Report bugs by opening an Issue
  • 💡 Suggest features or improvements the same way
  • 🔧 Want to contribute? Fork the repo and submit a PR — clear commits and concise messages appreciated!

Check the Contribution Guide.


💝 Support

Love this extension? Help it grow by showing your support!

Star on GitHub Rate on Marketplace Share on Twitter


📄 License

This extension is licensed under the MIT License.

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