# Copy AI Context A VS Code extension to copy code context formatted for AI assistants (ChatGPT, Claude, etc.). ## Features - **Copy Selection** (`Ctrl+Alt+C` / `Cmd+Alt+C`) — Copy selected code with file path and line 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 ## Usage Select code in the editor, then: - Right-click and choose **Copy AI Context: Selection** - Use the keyboard shortcut `Ctrl+Alt+C` (Windows/Linux) or `Cmd+Alt+C` (macOS) - Open the Command Palette (`Ctrl+Shift+P`) and search for **Copy AI Context** Output format: ``` --- path/to/file.ts:10-25 --- ```ts // 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.