Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DirCraftNew to Visual Studio Code? Get it now.
DirCraft

DirCraft

Folder Structure Generator

|
3 installs
| (1) | Free
Create folder structures from plain text input
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Folder Structure Generator

A Visual Studio Code extension that generates folder structures from plain text input.

Features

  • Create multiple folders and files with proper indentation
  • Simple text-based input format
  • Fast and efficient structure generation

Usage

  1. Open a file in VS Code

  2. Write or paste your folder structure in this format: project/ src/ components/ Button.js Header.js utils/ helpers.js public/ index.html style.css package.json README.md

  3. Select the text (or leave cursor in file without selection to use all content)

  4. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)

  5. Run the command: "Create Folder Structure from Text"

  6. The folder structure will be created in your workspace root

Format Rules

  • Use 2-space indentation for nested items
  • End folder names with /
  • File names should not have trailing /
  • Empty lines are ignored

Example:my-project/

src/ components/ Header.js Footer.js styles/ main.css public/ index.html package.json

Requirements

  • VS Code version 1.105.0 or higher
  • A workspace folder must be open

Release Notes

0.0.1

Initial release of Folder Structure Generator

Contributing

If you find any issues or have suggestions, please open an issue on the GitHub repository.

License

MIT License

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