Skip to content

devj-arch/copy-folder-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Folder Structure Copier

Copy any folder's structure as a clean ASCII tree — ready to paste into AI prompts, documentation, or READMEs.

Usage

Right-click any folder in the Explorer panel and choose Copy Folder Structure:

Context menu showing Copy Folder Structure submenu

Three copy modes

Copy Full Structure — the entire recursive tree, all levels deep.

my-project/
├── src/
│   ├── components/
│   │   ├── Button.tsx
│   │   └── Modal.tsx
│   └── index.ts
├── public/
│   └── index.html
└── package.json

Copy Shallow Structure — immediate children only. Nested folders show if they contain files.

my-project/
├── src/
│   └── …
├── public/
│   └── …
└── package.json

Copy Structure (Selective Depth) — opens a picker where you choose exactly which sub-folders to expand. Everything else stays collapsed.

Selective depth folder picker

Settings

Setting Default Description
folderStructureCopier.excludePatterns ["node_modules", ".git", "dist", …] Glob patterns to exclude
folderStructureCopier.includeRootFolderName true Show the root folder name at the top
folderStructureCopier.showFileIcons false Prefix entries with 📁 / 📄 emoji
folderStructureCopier.sortFoldersFirst true List folders before files at each level

Customising exclude patterns

"folderStructureCopier.excludePatterns": [
  "node_modules",
  ".git",
  "dist",
  "*.log",
  ".env*",
  "coverage"
]

Tips

  • For AI prompts: Use Full Structure for small projects; Selective Depth for large monorepos to keep context concise.
  • For documentation: Shallow Structure gives a clean top-level overview.
  • Selective Depth: Picking a deeply nested folder automatically includes all its parent folders so the tree stays connected.

Issues & Feedback

Found a bug or have a feature request? Open an issue on GitHub.

About

Copy any folder's structure as a clean ASCII tree — ready to paste into AI prompts, documentation, or READMEs.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors