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

Developer 3146b230ae docs: add README and CHANGELOG пре 1 месец
dist 2b971555cf feat: add extension entry point with command registration пре 1 месец
src 2b971555cf feat: add extension entry point with command registration пре 1 месец
.gitignore 050f298109 chore: add .gitignore for build artifacts and worktrees пре 1 месец
.vscodeignore 7e7870734d feat: add project scaffold пре 1 месец
CHANGELOG.md 3146b230ae docs: add README and CHANGELOG пре 1 месец
README.md 3146b230ae docs: add README and CHANGELOG пре 1 месец
esbuild.js 7e7870734d feat: add project scaffold пре 1 месец
package-lock.json 7e7870734d feat: add project scaffold пре 1 месец
package.json 7e7870734d feat: add project scaffold пре 1 месец
tsconfig.json 7e7870734d feat: add project scaffold пре 1 месец

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) — Copy selected code with file path, line, and column numbers
  • Copy Active File (Ctrl+Alt+F / Cmd+Alt+F) — Copy the entire active file
  • Copy Workspace Files — Pick files from the workspace to copy as context
  • Copy Selected Files — Select multiple files in the explorer and copy their contents

Output Format

[src/file.ts L10C1-L25C30]

typescript // your code here

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.