Please, add a badge showing how many TODOs left are there. Just like version control has.

It might need to have a toggle button as it might be annoying for some people.
I would love to, but unfortunately there is no API to do this yet. I'm sure it will added soon - I will add it as soon as it does.
Oh, ok. Thank you.
Your extension is really useful 馃憤
Thanks - I'm pleased other people are finding it useful too. 8-)
I would love to, but unfortunately there is no API to do this yet. I'm sure it will added soon - I will add it as soon as it does.
Does vscode have an open issue for that? I'd like to upvote it :+1:
I don't think there is. The problem is that there is no obvious place to put the API - view containers are set up in the package.json rather than created in the extension code, which means there is no way to say something like view.setCounter( 3 ).
View containers can only really container treeViews at the moment, so it could be an extension to TreeView<T>, but that doesn't totally make sense because the treeView could be in the explorer pane, or the activity bar could also be hidden, so you would not see it.
If you want to open an issue, I'll definitely support it though.
I've just created issue for it https://github.com/Microsoft/vscode/issues/62783
@elf-pavlik nice, thank you.
I agree. This is a feature I would find helpful.
I feel like I'm missing something obvious. In particular, I know of several activity bar icons that can have a number badge over them, including:
For styling purposes, I know this is identified as the activityBarBadge, but I'm definitely not seeing API documentation for setting its count for an extension. However, digging through some code, I think this is where the outdated extensions count is calculated. If I'm reading it correctly, that means that there's a generic NumberBadge defined in src/vs/workbench/services/activity/common/activity.ts#L57-L68.
So is it possible that the functionality is already there, it's just not documented? Or are y'all talking about something else altogether different?
Hi - the activity bar icons which have number badges are all built in vscode views. The extension API doesn't provide anything to set number badges on extension provided views.
There is definitely code in the application to show badges, but extensions have no access to it. If it was available I would definitely support it. :grin:
The image you've linked to is an example showing product icons, which as far a I know is a way to customise vscode to look like a new application, which is why the activity bar icons, the twistys, etc. are all different. I assume that the human icon is just a customised icon for one of the existing views.
I'm not sure the VSCode team are ever going to provide this functionality. In the mean time, I've made a change which shows the number of TODOs in the title of the view.
I'm going to close this, but if (when) the API does allow for badges, I'll implement it straight away.
Most helpful comment
I've just created issue for it https://github.com/Microsoft/vscode/issues/62783