[BUG] VS Code extension: renamed sessions show old title until window reload
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?
The session list shows the original (old) title. The new title only appears after running Developer: Reload Window (Cmd+Shift+P → Reload Window).
What Should Happen?
The renamed session shows its new title in the session list.
Error Messages/Logs
Steps to Reproduce
- Open the Session history panel in the Claude Code VS Code extension.
- Hover over a session and click the rename action; set a new title and confirm.
- Switch to any other session, then switch back to the renamed one.
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
Claude Code 2.1.143 (VS Code extension)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
The rename does persist to disk — after a window reload the new title is shown correctly.
This suggests the session-list cache in the extension isn't invalidated when a rename completes.
The CLI /rename command is not available in the VS Code extension ("/rename isn't available in this environment."), so there's no workaround other than reloading the window.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗