Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copilot Session SearchNew to Visual Studio Code? Get it now.
Copilot Session Search

Copilot Session Search

J Weel

|
2 installs
| (0) | Free
Search through all GitHub Copilot Chat sessions for a given term
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copilot Session Search

Search across all your GitHub Copilot Chat session history from a single panel.

Copilot Session Search icon

Features

  • Full-text search across every Copilot Chat session you have ever had
  • Results grouped by session, showing the workspace folder and session title
  • Highlights matching terms inside each turn snippet
  • Expand / collapse long responses inline
  • Copy any turn to clipboard with one click
  • Finds turns from active sessions (even ones not yet flushed to the database)

Requirements

  • GitHub Copilot Chat must be installed and have at least one session
  • Windows (this was not tested and likely does not work on Linux/Mac)

Usage

  1. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Run Copilot: Search Sessions
  3. Type any term — results appear as you type

How it works

Copilot Chat stores session history in a SQLite database at:

%APPDATA%\Code\User\globalStorage\github.copilot-chat\session-store.db

This extension reads that file in-memory using sql.js (pure WebAssembly SQLite — no native bindings required). It uses FTS5 full-text search for speed, falling back to a LIKE scan when FTS5 is unavailable.

Session titles and turns from currently-open sessions (not yet written to the database) are read directly from the per-workspace chatSessions/*.jsonl files.

Extension Settings

No configuration required.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft