microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.42k stars 28.62k forks source link

Support programmable titles in terminal #215478

Closed asportnoy closed 3 months ago

asportnoy commented 3 months ago

With external terminal apps (ie macOS terminal, iTerm), you can use the following code to set the title of the window:

echo -ne "\033]0;Your Title Here\007"

I propose that this should be added to the VSCode terminal. I often have 3-4 processes running at a time in terminal, so having the window renamed makes it much easier to tell what is what. I'm currently just setting the names manually for each, so this would be a great addition so I could have it be automated. There are other options for how you could approach programmatically renaming terminals, but the syntax above is pretty standard and would allow setups from other terminal apps to work in VSCode out of the box.

VSCodeTriageBot commented 3 months ago

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Tyriar commented 3 months ago

This is already supported, see https://code.visualstudio.com/docs/terminal/appearance#_tab-text