You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pub: Get Packages shouldn't list all packages in the same workspace since they perform the same action #6034
Is your feature request related to a problem? Please describe.
Now, most of the extension commands around pub (and output tab names) match pub workspaces quite well. But when I recently cloned https://github.com/flame-engine/flame, I saw that if you run Pub: Get Packages (with no files opened), you'll see the screenshot below. But even the second line there is part of the pub workspace at the root.
Describe the solution you'd like
I'd like for us to see (somehow) that the packages below are from a workspace.
If we know that tehy are all part of the same workspace, I'm not even sure it makes any sense to show them all, but I'll leave it up to you to decide what will be best here.
changed the title [-]Show on `Pub: Get Packages` list that a package is part of a pub workspace[/-][+]`Pub: Get Packages` shouldn't list all packages in the same workspace since they perform the same action[/+]on Apr 20, 2026
Small note for when you're handling this. It may come in handy for the user to know that some things are not showing up because there is a workspace. So adding (workspace) after the name or something would be my suggestion.
Activity
FMorschel commentedon Apr 19, 2026
If we know that tehy are all part of the same workspace, I'm not even sure it makes any sense to show them all, but I'll leave it up to you to decide what will be best here.
DanTup commentedon Apr 20, 2026
Yeah, I don't think we should be showing them. If you're in a Code Workspace with a single Pub Workspace, it would be pointless to even ask.
I thought I'd already handled this at some point, but apparently not :-)
[-]Show on `Pub: Get Packages` list that a package is part of a pub workspace[/-][+]`Pub: Get Packages` shouldn't list all packages in the same workspace since they perform the same action[/+]FMorschel commentedon Apr 20, 2026
Small note for when you're handling this. It may come in handy for the user to know that some things are not showing up because there is a workspace. So adding
(workspace)after the name or something would be my suggestion.DanTup commentedon Apr 20, 2026
Yeah, probably we should show something like "(Pub Workspace, 15 packages)".
DanTup commentedon Apr 21, 2026
Fold packages into their Pub Workspace root in the "Select package to…
Fold packages into their Pub Workspace root in the "Select package to…
Fold packages into their Pub Workspace root in the "Select package to…