claude-code - 💡(How to fix) Fix Session rename reverts after switching sessions (requires Window reload to persist)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

When renaming a session in the VS Code extension's session list, the new name reverts to the original ("Start new coding session") as soon as a different session is selected. The rename only takes effect after a full VS Code Window reload.

This also explains why all recent sessions appear as "Start new coding session" — titles are not reflected in the UI until a reload occurs.

Root Cause

When renaming a session in the VS Code extension's session list, the new name reverts to the original ("Start new coding session") as soon as a different session is selected. The rename only takes effect after a full VS Code Window reload.

This also explains why all recent sessions appear as "Start new coding session" — titles are not reflected in the UI until a reload occurs.

RAW_BUFFERClick to expand / collapse

Description

When renaming a session in the VS Code extension's session list, the new name reverts to the original ("Start new coding session") as soon as a different session is selected. The rename only takes effect after a full VS Code Window reload.

This also explains why all recent sessions appear as "Start new coding session" — titles are not reflected in the UI until a reload occurs.

Steps to Reproduce

  1. Open the Claude Code sidebar in VS Code
  2. Rename a session (double-click or right-click the session name)
  3. Enter a new name and confirm
  4. Click on a different session
  5. Return to the renamed session — the name has reverted

Expected Behavior

The renamed session retains the new name without requiring a Window reload.

Actual Behavior

The name reverts after switching sessions. After "Developer: Reload Window", the correct name is displayed.

Environment

  • Extension: anthropic.claude-code 2.1.141
  • OS: Windows 11 Pro (Build 26200)
  • Shell: PowerShell 5.1

Notes

The rename appears to be persisted to disk successfully (the name survives a reload), so this is likely a UI state issue — the session list does not re-render after a rename operation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Session rename reverts after switching sessions (requires Window reload to persist)