VS Code Extensions
Copilot Session Search

Copilot Session Search

by JWeel

Search through all GitHub Copilot Chat sessions for a given term

Downloads

56

Rating

— (0)

Version

0.1.0

Last updated

Jun 02, 2026

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

Related extensions