Send to Copilot CLICompose prompts in VS Code. Send them to your Copilot CLI session with one click. Why?Writing prompts directly in the terminal is awkward. One accidental Enter and your half-finished prompt is sent. You can't easily select, rearrange, or paste code snippets. And if you're building a multi-line prompt with context from multiple files, the terminal input line just isn't built for that. This extension lets you write your prompts in a VS Code editor — a virtual/scratch document, an untitled file, or any file you have open — and send the content (or a selection) straight into your active Copilot CLI session. You get all the editing power of VS Code (multi-cursor, find & replace, snippets) for crafting the perfect prompt, and the CLI gets the final result. How it worksThe extension pairs with a small CLI bridge extension that runs inside your Copilot CLI session. When the CLI starts, the bridge opens a local connection and registers itself. When you send text from VS Code, the extension discovers the bridge and injects your prompt into the active session using
The bridge is a lightweight Copilot CLI extension, which is a single Getting started1. Install the VS Code extensionInstall Send to Copilot CLI from the VS Code Marketplace (or build from source). 2. Install the CLI bridge extensionOpen the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and run:
You'll be asked where to install:
3. Start a CLI sessionOpen a terminal and start the Copilot CLI (
4. Send your prompt
Commands
All commands are available in the Command Palette under the Requirements
ResourcesLicenseMIT License. See LICENSE for details. |