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
Support a special view in the quick pick optimized for displaying icons #192309
Internal codicon details are exposed, for example there are 4 plus icons at the start
Icons are not translated
All codicons are included, meaning themed icons like red debug breakpoints are included
Picking an icon visually is a headache as you need to either search for what you think the icon is called or look through the whole list
Hylke Bons (@hbons) put together this prototype exploring an icon selector for profiles:
I propose we implement Hylke Bons (@hbons)'s mock up above, but do it in such a way that the quick pick can be opened in a special mode that shows icons only initially. Then when filtering, it could revert to the standard display closer to the terminal's current icon picker so that the filtered search text is visible and it acts like a regular quick pick.
Doing it this way as opposed to creating a whole new UI component allows us to share code, enhance the quick pick, potentially expose this new mode as an extension API and keep the UX as consistent as possible.
maybe we have an option called iconOnly or similar to only render the icons of QuickPickItems.
I think filtering should revert to the regular view so users can see the text/ids behind the scenes, this makes also helps tie the experiences together in the mind of the user. If that's the approach we take, something more along the lines of an icon preferred/focused view would be better than using "only" as the option.
TylerLeonhardt it would be better if the emoji picker did do that imo, otherwise it's difficult knowing what text is being searched especially without using the mouse (and vscode users like to work with text and the keyboard). Good topic for the UX sync?
I feel like folks will use the filter in the emoji picker often... more than not.
If so, and if we revert back to normal quick pick behavior, then this, which will require quite a bit of work to implement, will only be used in such a small scenario...
TylerLeonhardt if it was just the regular quick pick it suffers from the issues where it's difficult to find an icon if you don't know what you're looking for as described in the top comment
Agree with TylerLeonhardt it would be nicer to keep the grid mode when searching. We could show the non-matching icons in disabled state instead of hiding them.
Coming back to do this post-UX sync... I agree with Daniel Imms (@Tyriar) that resorting to the list view when the user types something in the input is ideal. Mostly because:
right arrow & left arrow keys will have a more aligned behavior
Activity
TylerLeonhardt commentedon Sep 6, 2023
Yeah this makes sense to me. We use a list for QuickPick today... so we'd still need some sort of a grid thing? If we don't have that already?
vscode/src/vs/platform/quickinput/common/quickInput.ts
Lines 278 to 388 in e682a8d
Here's what
QuickPicklooks like today... maybe we have an option callediconOnlyor similar to only render the icons ofQuickPickItems.sandy081 commentedon Sep 7, 2023
TylerLeonhardt I would like to work on this because it is needed for profiles icon feature. I will come up with a PR. Hope this is fine.
Tyriar commentedon Sep 7, 2023
I think filtering should revert to the regular view so users can see the text/ids behind the scenes, this makes also helps tie the experiences together in the mind of the user. If that's the approach we take, something more along the lines of an icon preferred/focused view would be better than using "only" as the option.
TylerLeonhardt commentedon Sep 7, 2023
Idk... Slack doesn't do that:
nor does Teams:

However, they both support showing the id on hover which we could do.
Tyriar commentedon Sep 11, 2023
TylerLeonhardt it would be better if the emoji picker did do that imo, otherwise it's difficult knowing what text is being searched especially without using the mouse (and vscode users like to work with text and the keyboard). Good topic for the UX sync?
TylerLeonhardt commentedon Sep 11, 2023
I feel like folks will use the filter in the emoji picker often... more than not.
If so, and if we revert back to normal quick pick behavior, then this, which will require quite a bit of work to implement, will only be used in such a small scenario...
Tyriar commentedon Sep 11, 2023
TylerLeonhardt if it was just the regular quick pick it suffers from the issues where it's difficult to find an icon if you don't know what you're looking for as described in the top comment
sandy081 commentedon Sep 12, 2023
Throwing another idea: How about supporting in place context widget like below?
If we have a profile management editor, then this will give better user experience.
hbons commentedon Sep 13, 2023
Sandeep Somavarapu (@sandy081) We could do that when we have local QuickPick mode. See #189030. For now I'd hold off creating a new control.
hbons commentedon Sep 13, 2023
Agree with TylerLeonhardt it would be nicer to keep the grid mode when searching. We could show the non-matching icons in disabled state instead of hiding them.
TylerLeonhardt commentedon Sep 25, 2023
Coming back to do this post-UX sync... I agree with Daniel Imms (@Tyriar) that resorting to the list view when the user types something in the input is ideal. Mostly because:
TylerLeonhardt commentedon Sep 25, 2023
Moving this to backlog since this is a feature request of the quick pick and I'm not planning on picking this up at the moment.
mrleemurray commentedon Jan 6, 2026
Any updates? Just picking this up
TylerLeonhardt commentedon Jan 6, 2026
Nope, beyond terminal is there another usecase popping up?
mrleemurray commentedon Jan 7, 2026
Nope, was just checking.