Search across all your GitHub Copilot Chat session history from a single panel.
![]()
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
- Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Run Copilot: Search Sessions
- 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