'How do you add icon/indicators beside TreeView items via VSCode API?

Simple question, how can I add little indicators beside my TreeViewItems like how it is done with the built-in git tracker with the M symbol here.



Solution 1:[1]

From what I know this is currently not possible. There's no public API for that.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mike Lischke