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

Linked Codes Copy

Ayus Paudel

| (0) | Free
Copy a code file together with all of its linked source files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Linked Codes Copy

Copy a source file together with every linked source file into the clipboard, ready to paste into an AI chat.

  • Copy Code and Related Files for AI: right-click a file or editor. It follows local imports and aliases such as @/…, then also includes every workspace source file that imports those files. Each file is labeled with its workspace-relative path.
  • Select Files and Copy for AI: open the command from the right-click menu, then choose all files involved in a feature.

.env files, dependency directories, and common build outputs are excluded. Use the linkedCodesCopy.maxFiles and linkedCodesCopy.maxCharacters settings to control the clipboard payload.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft