[BUG] VS Code tab title not updated when Claude renames/moves a file
Status Fixed / completed
Maintainer reply None cached
Activity 1 comment · opened Mar 21, 2026 · closed Mar 21, 2026
Description
When Claude Code renames or moves a file (via Write or mv), the VS Code editor tab still shows the old file name. The tab title only updates if you close and reopen the file.
Steps to reproduce
- Open a file in VS Code (e.g.
foo.ts) - Ask Claude Code to rename it (e.g. to
bar.ts) - Claude performs the rename successfully on the filesystem
- The VS Code tab still shows
foo.tsinstead ofbar.ts
Expected behavior
The tab title should reflect the new file name after a rename/move operation.
Environment
- OS: Linux (Ubuntu)
- VS Code extension: Claude Code for VS Code
- Claude Code CLI: latest
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗