[BUG] [VSCode] Sidebar delete button does nothing — cannot remove sessions

Resolved 💬 3 comments Opened Apr 17, 2026 by joelveloso Closed May 26, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Clicking the delete/trash icon next to a session in the VS Code extension sidebar does nothing. The session is not removed from the sidebar list, the underlying .jsonl file in ~/.claude/projects/<project>/ is not deleted, and there is no error, confirmation dialog, or visual feedback of any kind.

Combined with the sidebar rename bug (#37628), this means there is currently no working way to manage sessions from the VS Code extension UI — users can neither rename nor delete conversations.

What Should Happen?

Clicking the delete icon should remove the session from the sidebar and delete (or archive) the corresponding .jsonl file on disk. Ideally with a confirmation prompt to prevent accidental deletion.

Error Messages/Logs

(none — the click is a silent no-op)

Steps to Reproduce

  1. Open VS Code with the Claude Code extension installed
  2. Open the Claude Code sidebar and locate any existing session in the list
  3. Hover the session entry to reveal the action icons
  4. Click the delete/trash icon
  5. Observed: nothing happens — no visual change, no confirmation dialog, no error
  6. Reload the VS Code window (Cmd+Shift+P → "Developer: Reload Window")
  7. Observed: the session is still present in the sidebar
  8. Check ~/.claude/projects/<project-slug>/ on disk — the .jsonl file is still there

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.92 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

Environment details:

  • OS: macOS 26.4.1 (Darwin 25.4.0, Apple Silicon)
  • VS Code: Claude Code native extension

Related issues:

  • #37628 — Sidebar pencil-icon rename is overwritten by auto-generated title on next message (still reproducing in 2.1.92)
  • #16053 — CLI /rename doesn't sync to VS Code extension dropdown

Impact: Session management in the VS Code extension is effectively non-functional. With no working rename and no working delete, the sidebar becomes unusable for organizing more than a handful of conversations, especially when auto-generated titles are generic

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗