vscode-terminals: Color and icon is not applied
Color and icon for the terminals is not working. Setting "color": "#00ff00"
or "icon": "github"
for example doesn’t do anything.
I’ve debugged a bit and I can see the colors and icons being set on the terminals, but it’s not shown on the actual terminal icon.
Here you can see the color being included in the creationOptions:
My terminals.json:
{
"autorun": true,
"autokill": true,
"terminals": [
{
"name": "Next",
"commands": ["npm run dev"],
"color": "#ff0000"
},
{
"name": "Util",
"color": "#ff0000"
}
]
}
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 5
- Comments: 20 (5 by maintainers)
As a temporary fix, I got it to work by manually assigning the shellPath, even if it is my default one. I’ve only tested in Windows, though.
Worked for me too, but only fixed the icon but not the color:
"shellPath": "C:\\Program Files\\Git\\bin\\bash.exe"
EDIT: fixed the color too, when applied to each terminal settingThanks, let’s track in https://github.com/microsoft/vscode/issues/167643
Thank you for this workaround ! Working on my mac with the following code: