‹ Catalog

VS Code (Copilot Chat)

Microsoft

high sensitivity verified Linux · macOS · Windows

transcript high

sqlite may hold secrets · personal data · source code

GitHub Copilot Chat history persists locally in per-workspace SQLite state stores.

Where it lives

  • macOS ~/Library/Application Support/Code/User/workspaceStorage/**/state.vscdb
  • Linux ~/.config/Code/User/workspaceStorage/**/state.vscdb
  • Windows ~/AppData/Roaming/Code/User/workspaceStorage/**/state.vscdb

What you can do

  • Clear chat sessions from within VS Code to reduce local retention.
  • Keep the Code application-support folder out of cloud-synced locations.

Source: github.com

transcript high

sqlite may hold secrets · personal data · source code

VS Code global state, which can include Copilot chat and other AI extension data.

Where it lives

  • macOS ~/Library/Application Support/Code/User/globalStorage/state.vscdb
  • Linux ~/.config/Code/User/globalStorage/state.vscdb
  • Windows ~/AppData/Roaming/Code/User/globalStorage/state.vscdb

What you can do

  • Keep the Code application-support folder out of cloud-synced locations.

This describes where VS Code (Copilot Chat) stores data. Metadata only, never your content. Confidence: verified. Spot a mistake? Tell us.