VS Code Extensions
Linked Codes Copy

Linked Codes Copy

by ayus-paudel

Copy a code file together with all of its linked source files.

Downloads

2

Rating

(0)

Version

1.0.1

Last updated

Jun 23, 2026

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.

Related extensions