[FEATURE] Rename tabs in VS Code Extension
Open 💬 29 comments Opened Nov 6, 2025 by MattBro
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I love to have multiple tabs of Claude running in the VS Code extension. However, because the tab names are just based on the first message right now, I quickly lose track of who's doing what, and frequently send messages to the wrong tabs, which makes it really hard to work with multiple instances in parallel.
Proposed Solution
I'd like to be able to rename the tabs in the claude code vs code extension.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
Interactive mode (TUI)
Use Case Example
_No response_
Additional Context
_No response_
29 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I agree with OP and +1 to this one.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Update
This issue is still relevant, for VS Code Claude users, at a minimum. Users are submitting dozens of related issues and they are being closed.
My conclusion
Rename, Delete, and generally session management tools which allow users to more quickly accurately access targeted previous sessions and to manage multi-session workflows continue to be hotly requested, especially in VS Code.
Relevant Issues Lists
VS Code Extension Issues
BOTH Rename & Delete
Delete and rename chats in VS Code extensionRENAME Only
Add ability to name and organize conversation sessionsRename tabs in VS Code ExtensionAdd the ability to manually rename conversation titles in VS Code extensionTagging or renaming previous conversation for easier accessAllow renaming conversations in the VCS panelSession Renaming in VS Code ExtensionAllow renaming conversation titles in Past ConversationsAdd custom naming for conversation sessionsAbility to rename conversations in the VS Code sidebarDELETE Only
Add command to delete chat sessions---
One Issue re: Both CLI and VS Code
Add session management: delete and rename sessions in CLI and VS Code extension---
CLI / TUI Issues
BOTH Rename & Delete
Need session/conversation deletion and management toolsConversation Branching - Hierarchical sessions for complex multi-theme workRENAME Only
Need an ability to rename the claude code sessionsRename the conversationImplement Named Conversation Branching for Advanced Session ManagementAdd CLI option to rename/resume existing coding sessionsAdd descriptive titles for continued sessions after context limitCustom Session Naming for Improved Session ManagementAllow users to set custom titles for conversation sessions in CLIDELETE Only
Delete Claude Code sessionsOne-shot command to wipe all conversation historyHow do I delete a single conversation from my chat history?---
Seconding this request and the compilation very nicely put.
I would like to highlight a specific use case regarding the VS Code Extension > Delete requests listed above.
Claude Code in VS Code creates "ghost" sessions (see figure). While these appear empty to the user, they seem to still contain a couple of tokens of usage, and are stored in the history. (The one shown was called "No prompt" created 3h ago)
<img width="942" height="825" alt="Image" src="https://github.com/user-attachments/assets/180475c9-0e6b-49ab-946d-9c16afec109d" />
A feature to detect and clean these specific sessions is needed, making the manual Delete commands requested in this list even more urgent.
Hello - #13514 is not the same as this request. #13514 asks for deleting sessions in Claude Code online/desktop - not the VSCode or cli sessions
Apologies! I've moved it to the correct section in my post above, accordingly. Thank you for calling it out @mkalam-cloudzero.
Upvote! I often have 5-8 tabs open at the same time, and it's often impossible to know which tab belongs to which chat.
The /rename command in CLI renames the conversation, and could also rename the tab in VSCode.
Even better would be if the VSCode plugin automatically generated a short, unique name, making it easier to distinguish multiple tabs.
Upvoted. I have two requests: firstly the automatic title should not just be the first few words but it should be generated intelligently just like in Claude desktop and Claude Web and how IDEs like Cursor generate intelligent titles for agents. And then second request is that the user should be able to override the intelligent automatic title and generate their own. This rename is very popular with the /rename in Claude code CLI and very popular with Cursor agents but badly needed for Claude Code in VSCode extension. Regardless many thanks to the team for an amazing product.
I would argue for the rename since the session / tab often start as one thing and move to something related later
+1 for this feature, this has been requested multiple times (#9198, #11808, #15802) and there's already a community extension [[Claude Chats]](https://marketplace.visualstudio.com/items?itemName=AlexZanfir.claude-chats) proving significant demand.
MVP suggestion: A simple right-click context menu with "Rename Session" on the tab would solve 90% of use cases, similar to how VS Code allows renaming terminals.
It would also be good if the initial name was automatically generated based on the content and not just based on the few words like in Claude's normal chat UI. But then it's also critical to allow a simple rename.
Related next to the name in the VSCode extension tab, there should be an indicator whether the tab is actively working or not. There is already a dot indicator if the tab is waiting for the user input but there is no indicator to distinguish between "agent is active" and "agent is idle." Thanks!
I absolutely agree with OP regarding this request. Currently the tabs are named like first sentence in the context. But it's obvious that users should be able to rename tabs at their convenience. For example my context starts with "Hi, did you read Claude.MD".. and later we start discussing certain parts of code.. so my tab is permanently named "hi, did you read Claude.MD"....
+1 — and I'd love to push this even further with themed tab groups.
I run multiple Claude Code sessions in parallel across different domains of the same project (data science, 3D rendering, computer vision). Tab renaming is a must, but here's the full vision I'd love to see:
Now I realize some of this sits at the frontier between what the Claude Code extension can do (renaming is 100% in scope via WebviewPanel.title) and what depends on VSCode's side. I'm aware that the current VSCode TabGroups API has limitations around programmatic color assignment and group state persistence for extensions — which is exactly why this might need to be pushed from both ends.
So two questions:
Happy to help draft or co-sign a VSCode issue if others are interested.
Here's my windowshade.md file... I have different vscode windows for drastically different tasks, with subtle BG colors to differentiate them. Doesn't help with tabs, but with projects. Note this is a quick hack, can probably customie a lot more. Cant do tabs though, this is a window / workspace setting.
VS Code Window Shade — Per-Workspace Color Tints
Give each VS Code workspace its own background tint via
workbench.colorCustomizationsin that workspace's
.vscode/settings.json.Approved Palette
| Color | Hex | Description |
|--------|-----------|--------------------------|
| Green |
#161e18| Gray with green tint || Blue |
#1e2a34| Gray with sky blue tint || Red |
#261b1b| Gray with red tint || Amber |
#2a261e| Gray with warm amber || Copper |
#2a221e| Gray with orange/brown || Purple |
#241e2a| Gray with purple tint |Usage
Add to
.vscode/settings.jsonin the workspace root:Keys that work
editor.background— main text areasideBar.background— left sidebar (also affects Claude Code webview)panel.background— bottom panelterminal.background— integrated terminalKeys that do NOT work
sideBar.background, not directlyactivityBar.background,statusBar.background— not tested yetNotes
//in.vscode/settings.json.vscode/settings.jsonto take effect__Workaround__
I just made this workaround and tested it in Windows 11 and macOS 15.7.3. May also work with Linux.
__Installation__
.claude(e.g.~/.claude) create a folder namedcommands__Usage__
In a session write
/rename foo baror just/renameto let the model pick a name. Reloads the view instantly.__Downside__
+1 -- Running multiple Claude sessions for different roles (builder, reviewer, researcher). Can't tell tabs apart since they all show truncated conversation text. Being able to set tab titles programmatically (e.g., via a VS Code command) would also let extensions auto-label tabs with session IDs.
it's even worse now. since the most recent update all tabs are labeled identically, everything is API perf dashboard
wtf how is that even remotely useful? at least before i could type a couple words at the start to name the tab. now even that workaround isn't available. positively ludicrous i can't rename a tab, why even label them?!
Is this what the issue is looking for?👇️
https://github.com/user-attachments/assets/2f1f546b-f095-4238-9f7f-756d4a671014
Feature Request: Add
/renamecommand to VSCode extensionIs your feature request related to a problem?
Yes. The CLI version of Claude Code supports session naming via:
claude -n "session name"at startup/rename <name>during an active sessionHowever, neither option exists in the VSCode extension. When working with multiple sessions, the only way to rename them is through the UI (hovering over a session in "Past Conversations" and clicking the pencil icon). This is cumbersome when you want to name a session while working.
Describe the solution you'd like
Add the
/renamecommand to the VSCode extension with the same behavior as the CLI:This would set the session's display name so it appears in the session picker with a descriptive title instead of an auto-generated one.
Describe alternatives you've considered
.claude/commands/*.mdfiles are prompt injections that can't access the VSCode extension's session stateAdditional context
This would help users who:
The session naming infrastructure already exists (visible in "Past Conversations"). This request is just to expose it via the
/renameslash command like the CLI does.I can see this feature request was added in the previous quarter-century. Is it on the roadmap? Any estimates of when it will be implemented? I have the same feature request.
I run 3-4 Claude sessions at a time and honestly can't tell which is which. Please let us rename tabs, it's such a basic thing.
it's quite confusing topic... but apparently now (or even before) there is a way to rename tabs. It's described above. https://github.com/anthropics/claude-code/issues/11145#issuecomment-4103285576 .. but regardless the usability of claude in VsCode is horrible. Search doesn't work. You can't find particular topic. It's a mess!
+1 I use clipboard-based slash commands like
/ts(text-scan) that read from clipboard. The VS Code tab just shows "/ts" since the AI namer only has two characters to work with. I built a UserPromptSubmit hook that returnssessionTitleviahookSpecificOutput, but the VS Code extension ignores it (works in the hook response, never applied to the tab). Would love eithersessionTitlesupport from hooks, or the ability to call/renameprogrammatically.Seems to be there, the line under the tabs is editable!
<img width="411" height="90" alt="Image" src="https://github.com/user-attachments/assets/7b123084-cd97-4090-b130-4106dfdbf42a" />
Yes it has been there for a few weeks, but it is not reliable. It changes sometimes when you keep working or look for the tab after closing it.
I agree that this is crucial in any serious use case. A user-editable session name should always take priority and should never be overwritten. You need to come back to it again sometimes with the same name, at least for a week or so.
Just tested this in the latest VS Code extension and renaming via Session history → hover → rename actually does update the VS Code tab title as well, not just the entry in the history list. Behavior may have changed recently.
Steps that worked for me:
Open the Claude Code panel
Click Session history
Hover the session, click rename, enter a new title
Tab title in VS Code's tab bar updates to match
If others can confirm, this issue may be resolvable.
Also needed for the Desktop app, not just the VS Code extension: sidebar display name is locked to the git-remote repo name with no override.
really need this too, thanks