Context Carryover
Solve context loss between GitHub Copilot Chat sessions!
This VS Code extension allows you to save context from Copilot Chat conversations that persists across sessions. Never lose important context again!


Features
💾 Save Context from Chat
- Save text directly from Copilot Chat using
@carryover /save
- Copy chat responses and save via clipboard
- Context persists across VS Code sessions using
globalState
💬 Chat Integration
- Use
@carryover in Copilot Chat to interact with your saved context
/save - Save text to the context buffer
/recall - Inject your saved context into the conversation
/show - View the current context buffer
/clear - Clear the context buffer
Usage
Saving Context from Copilot Chat
Method 1: Type directly
@carryover /save This is the important context I want to remember for later
Method 2: Copy and save
- Copy text from a Copilot Chat response (
Cmd+C / Ctrl+C)
- Type in chat:
@carryover /save
It will automatically use the clipboard content!
Method 3: Command Palette
- Copy text from chat
Cmd+Shift+P → "Context Carryover: Add Clipboard to Context Buffer"
Using Context in Copilot Chat
In GitHub Copilot Chat, type:
@carryover /recall
This will inject all your saved context into the conversation.
Other Commands
@carryover /save <text> - Save text directly to buffer
@carryover /show - Display the current context buffer
@carryover /clear - Clear all saved context
Commands
| Command |
Description |
Context Carryover: Add Selection to Context Buffer |
Saves selected text (or clipboard) to the buffer |
Context Carryover: Add Clipboard to Context Buffer |
Saves clipboard content to the buffer (ideal for chat) |
Context Carryover: Clear Context Buffer |
Clears all saved context |
Context Carryover: Show Current Context Buffer |
Opens buffer contents in a new document |
Example Workflow
- You're having a productive Copilot Chat session with important architectural decisions
- Copy the key parts of the conversation you want to remember
- Type
@carryover /save or run the clipboard command
- Close VS Code, take a break
- Come back, start a new chat session
- Type
@carryover /recall to bring back your context
- Continue your conversation with full context!
Requirements
- VS Code 1.93.0 or higher
- GitHub Copilot Chat extension
Extension Settings
This extension doesn't add any settings yet. Context is stored in VS Code's global state.
Known Issues
- Context buffer has no size limit - be mindful of very large contexts
- No export/import functionality yet
Release Notes
0.0.1
Initial release:
- Context storage with globalState
/save command to save context directly from chat
- Add selection/clipboard commands
- Clear context command
- Show context command
@carryover chat participant with /save, /recall, /show, /clear commands
| |