Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Context CarryoverNew to Visual Studio Code? Get it now.
Context Carryover

Context Carryover

Andrei Isvoran

|
2 installs
| (1) | Free
Solve context loss between GitHub Copilot sessions by saving and injecting context via @carryover
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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!

context_save.png

context_recall.png

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

  1. Copy text from a Copilot Chat response (Cmd+C / Ctrl+C)
  2. Type in chat:
@carryover /save

It will automatically use the clipboard content!

Method 3: Command Palette

  1. Copy text from chat
  2. 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

  1. You're having a productive Copilot Chat session with important architectural decisions
  2. Copy the key parts of the conversation you want to remember
  3. Type @carryover /save or run the clipboard command
  4. Close VS Code, take a break
  5. Come back, start a new chat session
  6. Type @carryover /recall to bring back your context
  7. 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
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft