Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Folder HierarchyNew to Visual Studio Code? Get it now.
Copy Folder Hierarchy

Copy Folder Hierarchy

ctf0

|
1 install
| (0) | Free
easily replicate a folder structure in your workspace
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy Folder Hierarchy

Image

Usage

  • right click on any file/folder in your workspace to copy its path hierarchy ex.vendor/some/deeply/nested/dir or vendor/some/deeply/nested/dir/file.ext
  • right click on any folder to create the path hierarchy ex../src
    • either create it exactly as copied ex. ./src/vendor/some/deeply/nested/dir
    • or create it without the top-most directory ex. ./src/some/deeply/nested/dir
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft