I really like that VSCode colors the file name in the sidebar depending on the git status (green for new, yellowish for modified). What I don't like is the file names for the tabs don't also reflect that. Is there a way to make the tabs use the same colors as the sidebar? Additionally, are the colors configurable for the different git states?
Dec 2020: This is not likely, because there are a lot of issues/plugins already around tabs colors for VSCode (like issues/31308 )
That means any text color you might want would likely clash (be less readable) with the foreground/background tab colors imposed by a setting or a plugin (like ColorTabs ).
That is why custom text colors are better represented in the sidebar rather than the tabs themselves.
Update VSCode 1.53 Jan. 2021: as described with Mark 's answer , this is implemented in term of tab decoration:
Tab decorations
Two new settings allow you to configure whether editor tabs show decorations, such as
git status
or diagnostics.
- Use
workbench.editor.decorations.colors
to decorate tabs with colors, like red/green for files with errors and warnings, and- use
workbench.editor.decorations.badges
to decorate tabs with badges, like M for git modified.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.