Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copilot Cache CleanerNew to Visual Studio Code? Get it now.
Copilot Cache Cleaner

Copilot Cache Cleaner

kdew

|
8 installs
| (0) | Free
Browse and clean Copilot chat cache across all workspaces.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copilot Cache Cleaner

Clean up your disk space by removing old Copilot chat history.

This VS Code extension helps you browse, manage, and delete the cache generated by Copilot Chat. Over time, these sessions can accumulate and take up space, or you might simply want to clear your history for privacy or organization.

Features

  • Tree View of Caches: Automatically discovers all workspaces (folders) where you've used Copilot.
  • Detailed Insights: See the size, date, and title of each chat session.
  • Granular Control:
    • Delete a single chat session.
    • Delete all sessions of a specific type (e.g., all Inline Chat sessions).
    • Delete all cache for a specific workspace.
    • Nuke It: One-click command to delete ALL Copilot cache across all workspaces on your machine.
  • Cross-Platform: Works on Windows, macOS, and Linux.
  • Insiders Support: Detects cache from both VS Code Stable and VS Code Insiders.

What is being deleted?

VS Code stores Copilot interactions in your workspaceStorage directory. This extension targets two specific folders:

1. chatSessions (The Side Panel Chat)

This folder contains the history of conversations you've had with Copilot in the Secondary Side Bar (Ctrl+Alt+I / Cmd+Opt+I).

  • Format: JSON files per session.
  • Content: Your prompts, Copilot's answers, and references.
  • Why delete?: These are the "Chat History" items you see in the panel. Deleting them here removes them from the UI history.

2. chatEditingSessions (Inline Chat / Edit)

This folder generally stores sessions from the Inline Chat (Ctrl+I / Cmd+I) feature, where you ask Copilot to generate or edit code directly in the editor.

  • Format: Often directories containing multiple JSON fragments or state files.
  • Content: Intermediate states, diffs, and prompts used during inline editing.
  • Why delete?: These temporary sessions can accumulate quickly if you use Inline Chat frequently. They are rarely needed after the edit is applied.

Usage

  1. Open the Copilot Cache Cleaner view in the Activity Bar (Trash icon).
  2. Expand a workspace to see its Chat Sessions and Chat Editing Sessions.
  3. Hover over an item to see the Delete button (Trash icon) or other actions.
  4. Use the toolbar actions to refresh or delete everything.

Security & Privacy

  • Local Only: This extension only deletes files from your local workspaceStorage directory. It does not communicate with any external servers.
  • No Data Collection: We do not collect telemetry or usage data.
  • Safe Deletion: The extension asks for confirmation before deleting any files.

Requirements

  • VS Code 1.96.0 or higher.

License

MIT

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