[BUG] Renaming a session never updates its currently-open editor tab title (VS Code extension)

Status Open
Reported on v2.1.201
Maintainer reply None cached
Activity 0 comments · opened Aug 12, 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?

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:

  1. /rename doesn't update the history list entry at all (only directly editing the entry does).
  2. 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

  1. Open a session in the Claude Code VS Code extension.
  2. Run /rename Some New Title.
  3. Check the session history list — the entry still shows the old title.
  4. Check the currently open editor tab for that session — it still shows the old title.
  5. 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).
  6. Check the currently open editor tab again — it still shows the old title.
  7. 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_

View original on GitHub ↗