Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Tree Structure to Folder GeneratorNew to Visual Studio Code? Get it now.
Tree Structure to Folder Generator

Tree Structure to Folder Generator

zartash-nabeel

|
7 installs
| (0) | Free
Generate folder and file structure from terminal-style tree
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tree Folder Generator

Generate nested folders and files from a terminal-style tree structure pasted in a text file.


Features

  • Parse terminal tree text into folder/file hierarchy
  • Choose whether to include or skip the root folder
  • Avoid overwriting existing folders — merges new structure with existing files
  • Supports any file extensions (e.g. .js, .txt, .dart)

How to Use

  1. Run command "Generate Folder Structure From Tree" from the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
  2. Select the input text file containing the tree structure.
  3. Select the target folder where files/folders will be created.
  4. Choose whether to include the root folder in creation.
  5. The extension creates folders and empty files matching the tree structure.
  6. The example tree srtucture is the default tree-structure created by Chatgpt for any app.

Requirements

  • VS Code version 1.101.0 or higher
  • Node.js installed (for extension development)

Extension Settings

This extension currently has no user-configurable settings.


Known Issues

  • Files are created empty; you must add content manually.

Release Notes

0.0.1

  • Initial release: generate folders and files from tree text file

Feedback & Support

None right now


Learn More

  • VS Code Extensions Documentation
  • Markdown Syntax Reference

Enjoy using Tree Folder Generator!

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