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

Scaffoldr

Aryan Gaikwad

| (0) | Free
Paste a folder structure and instantly scaffold matching folders and files in your workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Scaffoldr

Paste a folder structure. Scaffoldr builds it for you — instantly.

Scaffoldr turns a pasted directory tree (the kind you'd copy from a README, a tree command, ChatGPT, or your own notes) into real folders and files inside your VS Code workspace.

Features

  • Paste and go — drop in a tree like the one below and Scaffoldr creates every folder and file it describes.
  • Live preview — see exactly what will be created before you commit to it.
  • Two input styles supported — classic box-drawing trees (├──, └──, │) and plain indentation.
  • Smart directory detection — a line is a folder if it ends in / or has anything nested underneath it. No file extensions are ever hardcoded.
  • Safe by default — existing files are never overwritten.
  • Native look and feel — the Scaffoldr panel adapts to your current VS Code theme, light or dark.

Usage

  1. Open the Command Palette and run Scaffoldr: Create Structure — or right-click any folder in the Explorer and choose Scaffoldr: Generate Structure.
  2. Paste your folder structure into the text area.
  3. Check the live preview to confirm it looks right.
  4. Pick a destination with Choose Folder, or leave it at your workspace root.
  5. Click Create Structure.

Example input

haps-6g-multiperiod-cell-switching/
├── README.md
├── requirements.txt
├── main.py
├── src/
│   ├── __init__.py
│   ├── network_model.py
│   ├── snapshot_mip.py
│   └── multiperiod_mip.py
├── results/
│   ├── ping_pong_comparison.png
│   └── haps_soc_profile.png
└── venv/

Simple indentation works too:

project/
  src/
    main.py
    utils.py
  README.md

After creation you'll see a confirmation like:

✓ Structure created successfully
12 folders • 8 files

and the Explorer refreshes automatically so you can see the new files right away.

Commands

Command Where Description
Scaffoldr: Create Structure Command Palette Opens the Scaffoldr panel, defaulting to the workspace root.
Scaffoldr: Generate Structure Explorer right-click (folders) Opens the Scaffoldr panel with that folder pre-selected as the destination.

Notes

  • Files are created empty; Scaffoldr only builds the skeleton.
  • If a file already exists at the target path, it's left untouched and counted as skipped — nothing is ever overwritten.
  • Directories are created recursively, matching the nesting of your pasted structure.

Development

npm install
npm run compile

Then press F5 in VS Code to launch an Extension Development Host with Scaffoldr loaded.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft