Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Create Directory StructureNew to Visual Studio Code? Get it now.
Create Directory Structure

Create Directory Structure

Andrew Fernandes

|
13 installs
| (0) | Free
Create Directory Structure from Text given by LLMs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Create Directory Structure

Create Directory Structure is a Visual Studio Code extension that allows you to generate complex directory and file structures by simply pasting a directory tree in text format. It's perfect for scaffolding projects quickly and visually. Its also useful for DIRECTLY copy-pasting directory structures provided by LLMs and creating the files and folders automatically, saving precious time!

Preview


Features

  • 🖊️ Multiline Input Webview: Paste your directory tree (indented or ASCII-style like ├──, └──) into a themed, multiline input view.
  • 👀 Preview Before Creation: A confirmation screen shows the parsed structure using 📁 and 📄 icons before generating anything on disk.
  • 📂 Select Destination Folder: Easily choose the folder where the structure should be created.
  • ✍️ Smart Parsing: Supports trees with indentation, Unicode box-drawing characters, and trailing slashes or colons to indicate folders.
  • ⚠️ Conflict Resolution: Prompts you to overwrite, skip, or cancel if a file already exists.
  • ⏪ Undo Option: Fully reverses all file/folder creations if needed — great for quick experimentation.
  • 🧼 Clean Formatting: Automatically normalizes inconsistent input symbols or spacing.

Requirements

  • Visual Studio Code v1.70.0 or later.
  • No external dependencies. Everything runs locally and offline.

Extension Settings

This extension currently does not contribute any custom settings.


Known Issues

  • May fail silently on deeply nested trees if input formatting is inconsistent.
  • Folder creation might be blocked if the root folder is already open and locked in another process (e.g., VSCode itself).
  • Undo might not work perfectly on symbolic links or read-only files.

Following extension guidelines

This extension was built following VSCode's official guidelines:

  • Extension Guidelines

For more information

  • VSCode API Docs
  • Markdown Basics

Enjoy seamlessly building folder structures!

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