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

|
8 installs
| (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
    • You'll be presented with a quick pick dialog showing all path segments
    • Uncheck any segments you don't want to include in the final path
    • The folder structure will be created based on your selections
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft