anthropics / anthropics/claude-code

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

Ouverte
#94,257 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:ide bug platform:macos platform:vscode regression
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

### 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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
vscode
Domaine
developer-experience
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
65/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.