-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
QuickPick ignores matchOnDescription
/matchOnDetail
being false
#241630
Comments
Also, there is another bug that is likely related (and I don't know if should be seperate bug report), that in my quickpick, I have one of the items as |
See the documentation on
|
Just means that the description & detail will not be considered when determining a match. In other words, when we determine if an item should show up, we will not search the description/detail for a match of the query. If they are true, then the description/detail will be searched in addition to the label. From your gif, this appears to be working as intended. |
If you are trying to show items when nothing matches, maybe you can play around with the https://code.visualstudio.com/api/references/vscode-api#QuickPickItem |
Thanks so much! |
Description
In the vscode extension I am working on, I have a quick pick like so:
When I type a string, it tries to filter the checked items by the string, as if it is searching. However, in my code, I have
which shouldn't be needed anyway as they are false by default, but I thought I'd try this for the benefit of the doubt.
So the quick pick is ignoring the matches being false. Which is incredibly frustrating.
Here is the code I have to create the quick pick:
Extension.Development.Host.settings.json.-.Visual.Studio.Code.2025-02-23.14-41-55.mp4
Steps to Reproduce:
Extra info
Possibly related to #226469
Does this issue occur when all extensions are disabled?: N/A - happens on extension development
The text was updated successfully, but these errors were encountered: