|
@@ -0,0 +1,36 @@
|
|
|
|
|
+# 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
|
|
|
|
|
+
|
|
|
|
|
+```bash
|
|
|
|
|
+npm install
|
|
|
|
|
+npm run build
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+Press `F5` in VS Code to launch a development extension host.
|
|
|
|
|
+
|
|
|
|
|
+## Changes
|
|
|
|
|
+
|
|
|
|
|
+See [CHANGELOG.md](CHANGELOG.md).
|