复制用户选中文本的行列位置信息,供 AI 使用

Developer f5c54e970c i18n: use Chinese for right-click menu text hai 1 mes
dist 58caf1fa7a refactor: output only reference headers, no code content hai 1 mes
src 58caf1fa7a refactor: output only reference headers, no code content hai 1 mes
.gitignore 80d37e19d0 chore: ignore vsix packages in gitignore hai 1 mes
.vscodeignore 7e7870734d feat: add project scaffold hai 1 mes
CHANGELOG.md 3146b230ae docs: add README and CHANGELOG hai 1 mes
README.md f5c54e970c i18n: use Chinese for right-click menu text hai 1 mes
esbuild.js 7e7870734d feat: add project scaffold hai 1 mes
package-lock.json 965140ef14 chore: update package-lock.json after npm install hai 1 mes
package.json f5c54e970c i18n: use Chinese for right-click menu text hai 1 mes
tsconfig.json 7e7870734d feat: add project scaffold hai 1 mes

README.md

Copy AI Context

A VS Code extension to copy code context formatted for AI assistants (Claude, ChatGPT, pi agent, etc.).

Features

  • Copy Selection (Ctrl+Alt+C / Cmd+Alt+C) — 复制选区引用头 [path LnCn-LnCn]
  • Copy Active File (Ctrl+Alt+F / Cmd+Alt+F) — 复制当前文件引用头 [path]
  • Copy Workspace Files — 弹窗选文件,批量复制引用
  • Copy Selected Files — 资源管理器多选文件,批量复制引用

Output Format

[src/file.ts L10C1-L25C30]

多文件

[src/extension.ts][src/copyContext.ts L10C1-L45C20]

Requirements

  • VS Code 1.85+

Development

npm install
npm run build

Press F5 in VS Code to launch a development extension host.

Changes

See CHANGELOG.md.