Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree View Sample: Ability to display a badge #41

Closed
kubawolanin opened this issue Nov 14, 2017 · 1 comment
Closed

Tree View Sample: Ability to display a badge #41

kubawolanin opened this issue Nov 14, 2017 · 1 comment

Comments

@kubawolanin
Copy link

kubawolanin commented Nov 14, 2017

Hello,
In the tree-view-sample there's a nice example of how to create e.g. a Refresh button on the tree view.

I'd like to add a badge with a number indicating total count of the items that are stored in my tree.
Similar thing is visible on the "Changes" tree view for VCS:
image

I'm wondering whether it's possible for me to have that too.
I'd appreciate any help.

CC: @sandy081

EDIT: Just found that in the Git extension it's called countBadge:

https://github.com/Microsoft/vscode/blob/master/extensions/git/package.json#L828

Is it exposed somewhere?

Thank you all for the tremendous work!

@sandy081
Copy link
Member

@kubawolanin No Badges are not supported in Tree views.

Please file any issues or feature requests here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants