[BUG] Renaming a session never updates its currently-open editor tab title (VS Code extension)
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?
Running /rename <new title> in an active session prints its normal confirmation, but doesn't visibly update anything: not the currently open editor tab's title, and not that session's entry in the history list either. Editing the name directly on a history list entry via its pencil/edit icon does show the new name in that entry — but that's just the text field you typed into, not evidence of a live refresh — and even then, the open editor tab for that session still keeps showing the old title.
So there appear to be two related gaps:
/renamedoesn't update the history list entry at all (only directly editing the entry does).- The open editor tab's title never updates after any rename method, including the direct history-list edit.
What Should Happen?
Expected behavior:/rename should update the history list entry immediately. The open editor tab's title should update to match the current name shortly after any rename, without requiring the session to be closed and reopened.
Error Messages/Logs
Steps to Reproduce
- Open a session in the Claude Code VS Code extension.
- Run
/rename Some New Title. - Check the session history list — the entry still shows the old title.
- Check the currently open editor tab for that session — it still shows the old title.
- Instead, edit that session's name directly via the pencil/edit icon on its history list entry — the entry now shows the new name (because you typed it there).
- Check the currently open editor tab again — it still shows the old title.
- Switching tabs / focus does not trigger a refresh in any of the above.
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.201 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_