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

How to reorder itens on QuickPick based on user inputs #15659

Closed
felipecaputo opened this issue Nov 17, 2016 · 2 comments
Closed

How to reorder itens on QuickPick based on user inputs #15659

felipecaputo opened this issue Nov 17, 2016 · 2 comments
Assignees
Labels
api feature-request Request for new features or functionality quick-pick Quick-pick widget issues

Comments

@felipecaputo
Copy link

How can I reorder my quick pick items, based on user inputs.

I have an active issue in my extension asking to change the order of items.

Searching the issues, I've found #1795 that shows that I can use onDidChangeInput to get the input from user, but how can I update my list, changing the items order?

Or maybe quick pick could have an option that allows it to order the list after user inputs, in the same way Ctrl + P do when searching for files

@chrmarti chrmarti assigned jrieken and unassigned chrmarti Nov 17, 2016
@jrieken jrieken added api feature-request Request for new features or functionality labels Nov 18, 2016
@jrieken
Copy link
Member

jrieken commented Nov 18, 2016

Yeah , we have ideas of adding more functionality there.

@jrieken
Copy link
Member

jrieken commented Sep 10, 2018

This can be done with the new API we have: https://code.visualstudio.com/updates/v1_26#_quickinput-api

@jrieken jrieken closed this as completed Sep 10, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api feature-request Request for new features or functionality quick-pick Quick-pick widget issues
Projects
None yet
Development

No branches or pull requests

3 participants