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.