anthropics / anthropics/claude-code

[BUG] VS Code extension: renaming a session tab reverts to old name on Enter

オープン
#94,257 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:ide bug platform:macos platform:vscode regression
主要言語
Python
スター
145k
フォーク
23.1k
PR マージ指標
PR 指標を取得中

説明

### Preflight Checklist

- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code

### What's Wrong?

Renaming a session tab in the Claude Code VS Code extension's sidebar does not work. After typing a new name into the rename field and pressing Enter, the field resets back to the old name instead of committing the new one.

### What Should Happen?

Pressing Enter after typing a new session name should commit the rename and show the new name in the sidebar.

### Steps to Reproduce

1. Open the Claude Code sidebar in VS Code with at least one active session.
2. Click the rename (pencil) icon on a session tab.
3. Type a new name into the field.
4. Press Enter.
5. Observe: the field reverts to the original name instead of keeping the new one.

### Claude Model

Not sure / Multiple models

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

Unknown

### Claude Code Version

2.1.268 (Claude Code)

### Platform

Anthropic API

### Operating System

macOS

### Terminal/Shell

VS Code integrated terminal

### Additional Information

- VS Code version: 1.131.0
- Claude Code VS Code extension version: anthropic.claude-code 2.1.270
- OS: macOS 15.7.3 (Build 24G419)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Reproduce the rename flow in the Claude Code VS Code extension's sidebar using the listed steps, then trace the session-tab rename handling for the Enter key. Confirm that the new name is retained and shown after submission, including for the reported macOS and extension versions.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
vscode
領域
developer-experience
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。