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

Developer 2d2258070c chore: rename to copy-ai-ctx for marketplace publishing v0.2.3 1 maand geleden
dist 2d2258070c chore: rename to copy-ai-ctx for marketplace publishing v0.2.3 1 maand geleden
src 2d2258070c chore: rename to copy-ai-ctx for marketplace publishing v0.2.3 1 maand geleden
.gitignore 80d37e19d0 chore: ignore vsix packages in gitignore 1 maand geleden
.vscodeignore 7e7870734d feat: add project scaffold 1 maand geleden
CHANGELOG.md 2d2258070c chore: rename to copy-ai-ctx for marketplace publishing v0.2.3 1 maand geleden
README.md a23e200afb refactor: split command registration for single and multi selection 1 maand geleden
esbuild.js 7e7870734d feat: add project scaffold 1 maand geleden
package-lock.json a23e200afb refactor: split command registration for single and multi selection 1 maand geleden
package.json 2d2258070c chore: rename to copy-ai-ctx for marketplace publishing v0.2.3 1 maand geleden
tsconfig.json 7e7870734d feat: add project scaffold 1 maand geleden

README.md

Copy AI Context

A VS Code extension to copy file/folder paths formatted for AI assistants (Claude, ChatGPT, pi agent, etc.).

Features

  • Copy Selection — 编辑器右键(有选中代码时),复制引用头 [path LnCn-LnCn]
  • Copy Active File — 编辑器右键(无选中代码时),复制路径 [path]
  • Copy Single Item — 资源管理器右键单文件/单文件夹,复制路径
  • Copy Multi Items — 资源管理器右键多选(文件/文件夹),批量复制路径(文件夹递归展开)

Output Format

[src/file.ts L10C1-L25C30]

多文件

[src/file1.ts][src/file2.ts]

Requirements

  • VS Code 1.85+

Development

npm install
npm run build

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