0

I am working on a vscode extension where I use a TreeView whith some TreeItem elements. I want to change the color of some of these elements' labels, very similar to what vscode's explorer does, for instance, with the "node_modules" folder (displayed dimmer, grayed out) or with files with uncommited git changes (green, blue, red). I've spent a good chunk of time searching in the documentation but couldn't find any reference to this kind of customization. Can it be done? How? Thanks

protozoo
  • 560
  • 6
  • 16
  • 1
    See https://stackoverflow.com/questions/74449432/how-to-add-and-select-color-for-nodes-tree-view-items-in-explorer-view-in-my-vsc/74483366?r=SearchResults&s=2%7C23.2977#74483366 and https://stackoverflow.com/questions/74449432/how-to-add-and-select-color-for-nodes-tree-view-items-in-explorer-view-in-my-vsc/74483366?r=SearchResults&s=2%7C23.2977#74483366 for how to change TreeItem label colors. – Mark Jan 22 '23 at 00:17

0 Answers0