[FEATURE] Confirmation dialog before deleting chat sessions (re-raising #43871)

Open 💬 0 comments Opened Jun 18, 2026 by and-arnold

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Re-opening this topic because the previous issue (#43871) was auto-closed
as stale, not because the problem was resolved. The underlying issue
still exists in version 2.1.181 (VS Code extension).

Deleting a chat session in the VS Code extension is a one-click,
irreversible action with no confirmation. Accidental clicks on the
trash icon permanently destroy conversation history — including
context-heavy mid-project sessions that cannot be reproduced.

Related (all closed as duplicates or stale)

  • #43871 (original, closed "not planned" via bot)
  • #31836, #33905, #40931, #45755, #47065
  • #62816, #63046, #63724

The repeated re-filing by different users over months shows this is
a persistent pain point, not a one-off complaint.

Proposed Solution

Any of the following would solve this:

  1. A confirmation dialog before deletion (minimum viable fix)
  2. A configurable setting: claudeCode.confirmDeleteChat: true | false
  3. A soft-delete / trash with restore option (ideal solution)

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

Environment

  • Claude Code for VS Code: 2.1.181
  • VS Code: 1.125.0
  • OS: Windows 11

View original on GitHub ↗