Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Plugin VSCode CopyNew to Visual Studio Code? Get it now.
Plugin VSCode Copy

Plugin VSCode Copy

Jorge Rios

|
2 installs
| (0) | Free
When adding files or folders, prompts whether to copy them into the workspace or just add a reference.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Workspace Copy Prompt

Easily add external files and folders to your VS Code workspace — choose to copy them in or add as a reference.

✨ Features

  • Copy to workspace — Clones the selected file/folder into your workspace root directory
  • Add as reference — Adds folders as a multi-root workspace entry, or opens files without copying
  • Conflict handling — If a file/folder already exists, choose to overwrite, rename (with suffix), or skip
  • Auto-create workspace — If no workspace is open, automatically creates a new unique folder in ~/Documents/

🚀 Usage

From the Command Palette

  1. Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux)
  2. Type "Add File/Folder to Workspace (Copy or Reference)"
  3. Select the file(s) or folder(s) you want to add
  4. Choose your action:
    • Copy to workspace — makes a local copy
    • Add as reference — links to the original location

From the Explorer context menu

Right-click any item in the Explorer sidebar → "Add File/Folder to Workspace (Copy or Reference)"

📋 How it works

Action Files Folders
Copy Copies file into workspace root Copies entire folder into workspace root
Reference Opens the file (no copy) Adds folder as a workspace root (multi-root)

⚙️ Requirements

  • VS Code 1.85.0 or later
  • No additional dependencies

📝 Release Notes

0.0.1

  • Initial release
  • Copy or reference prompt for files and folders
  • Conflict detection with overwrite/rename/skip options
  • Auto-create workspace when none is open
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft