vscode-docker icon indicating copy to clipboard operation
vscode-docker copied to clipboard

New Feature: Add badge/Annotation to sidebar for number of running containers

Open marvingreenberg opened this issue 6 years ago • 8 comments

Minor. But it would be useful to see at a glance when containers are running (just as when the editor or SCM icons show unsaved or uncommitted changes. Philosophically it is a little analogous (OK its a stretch), since if I started containers from inside VScode I may want to close them before closing VScode.

marvingreenberg avatar Sep 19 '19 11:09 marvingreenberg

I like that idea. Something like this? image

It wouldn't be terribly simple to display containers started specifically from VSCode (we would have to label them all to know that they were created by VSCode), but showing all running containers should be simpler.

bwateratmsft avatar Sep 19 '19 13:09 bwateratmsft

No, the whole business about the philosophical justification for the badge was stupid, just show the running number.

marvingreenberg avatar Sep 19 '19 15:09 marvingreenberg

It looks like this would depend on https://github.com/microsoft/vscode/issues/62783.

bwateratmsft avatar Sep 19 '19 16:09 bwateratmsft

It's been a long time since there have been any updates to https://github.com/microsoft/vscode/issues/62783 so it seems unlikely it will happen. I am still following that issue, but for the meantime, I will close this one to keep the Future milestone a little clearer.

bwateratmsft avatar Dec 02 '21 18:12 bwateratmsft

https://code.visualstudio.com/updates/v1_72#_tree-viewbadge-finalized is now in the product! I'll reopen this.

bwateratmsft avatar Oct 06 '22 20:10 bwateratmsft

As of VSCode 1.74.0 there is a built-in feature to hide badges, so we wouldn't need a setting anymore. https://code.visualstudio.com/updates/v1_74#_hide-badges-per-view-container

bwateratmsft avatar Dec 07 '22 22:12 bwateratmsft

So... when will I be able to see the number of running containers in my activity bar? Are there any obstacles?

almaceleste avatar Apr 30 '23 14:04 almaceleste

No technical obstacles, just not enough time to tackle this, sorry... we do take PRs though ☺️

karolz-ms avatar May 01 '23 16:05 karolz-ms