-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Do NOT re-sort QuickPickItem when typing #54400
Comments
I guess what's being asked for here is to make sure the entries stay stable if they have the same weight after going through the fuzzy sort. @chrmarti is the weighted list sorted using a stable sort? |
Thanks Daniel for your swift response. Unfortunately, I would like have my order untouched whether the search term matches |
@ThisIsManta the order must be changed as it's fuzzy sorting and filtering the list. Without sorting, if you had something that matched the label exactly and the description partially the best match may not be at the top. In the example above I would expect the match weights to be the same as they're both matching on the description. |
/duplicate #73904 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
Originally, the quick pick comprises
index
,actionType
,reducer
, andselector
respectively. I intentionally placeindex
at the top of the list because, you know, it isindex.js
. However, when start typing, VSCode re-sorts my items soactionType
comes beforeindex
which I do NOT want that.I believe auto sorting QuickPickItem is a feature (#15659), hence I'm creating a feature request ticket so that
QuickPickOptions
has a new field calledkeepOrder
ordoNotResort
or whatever.Cheers!
The text was updated successfully, but these errors were encountered: