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

Add a badge to the activity bar icon #100

Open
claudiodangelis opened this issue Aug 14, 2018 · 5 comments
Open

Add a badge to the activity bar icon #100

claudiodangelis opened this issue Aug 14, 2018 · 5 comments

Comments

@claudiodangelis
Copy link

Do you think it is possible to include the number of TODOs in the sidebar's icon like other extensions do?

image

In the screenshot, the git extension icon shows the number of pending changes.

If possible, I would like to help you on this, thank you!

@ghost
Copy link

ghost commented Aug 14, 2018

Unfortunately there is no api to implement this but it would be very cool to have. I think the issue for this is microsoft/vscode#38426. There might be another issue specifically mentioning activity bar badges, but I can't seem to recall it.

@fabiospampinato
Copy link
Owner

As @nealot said I don't think there's an API available for doing that at the moment.

@fabiospampinato
Copy link
Owner

It looks like some badges can be actually added to the tree for file items. Maybe I'll look into that, but I would also like to be able to add badges to other kinds of tree items thought, i.e. projects and types, so maybe I'll wait until that's also implemented.

@usernamehw
Copy link

Issue for allowing extensions to contribute activity bar badges: microsoft/vscode#62783

@fabiospampinato fabiospampinato changed the title Include TODO count in sidebar's icon Add a badge to the activity bar icon Apr 2, 2021
@hamirmahal
Copy link

For anyone watching this issue, the adding badges to activity bar icons feature seems to be in-progress as of yesterday, Tuesday, January 18, 2021.

By the way, this issue is the second search result for me after searching

vscode add badge api

so I imagine other people will end up here, too, when searching for how to add badges to activity bar icons.

Screen Shot 2022-01-19 at 8 54 06 AM

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

No branches or pull requests

4 participants