Skip to content

Auto-rename integrated terminal based on Claude (or other chat) session name #314002

@scarqin

Description

@scarqin

I’d like VS Code to support automatically renaming integrated terminals based on the active Claude (or other AI/chat) session name.
Image

When I start a Claude session (for example, “Refactor backend APIs”) and open a new integrated terminal for that session, I’d like the terminal tab name to automatically use the session name, instead of a generic name like bash, zsh, or just a number.

Today I have to rename terminal tabs manually to match the Claude session, which is easy to forget and becomes tedious when working with multiple AI-assisted tasks.
Image

Proposed / expected behavior

  • When a terminal is created from, or associated with, an AI/chat session (e.g. Claude), VS Code (or the extension via API) can set the terminal name to the session title.
  • This could be exposed as a setting or API so AI/chat extensions can programmatically update terminal names.

This would make it much easier to see which terminal belongs to which Claude (or other chat) session and reduce confusion when several terminals are open.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions