-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Extension API: QuickPick fuzzy search not finding results #103354
Comments
/duplicate #27317 |
@svsool Maybe I closed too soon, can you give a minimal code snippet for me to run an extension with this picker? Thanks |
Sure thing. For repro purpose I modified "Open daily note" command to not rely on disk and render all results from past / next 2 years statically.
|
Thanks, I can reproduce. I wonder if this possibly could be a duplicate of #34088 However, I am not entirely sure why for example I can type "fr august" and it returns results: Since the quick pick implementation was done by @chrmarti I would like to confirm with him and then we can close as duplicate. Maybe there is a rule in place that treats non-word characters such as |
What is also a bit weird is that there should be more than two Fridays in August, but it shows only two of them. I can see all Fridays when input is empty just by scrolling through +/- days around today, but not when the input has "fr august". I'd expect it to show all Fridays from every August, there should be around 4 August months to choose from because in this example range spans over +/- 2 years from now. For instance, these two Fridays (I believe) should be shown when "fr august" typed as well: |
Using |
Hi,
I use QuickPick component for opening daily notes in my extension.
Example:
When I type
-2d
or-2 d
I expect-2 days | Friday, July 24, 2020 Exists
(see screenshot above) to appear in the results, but I see this instead:Sorting is also wrong as
-25 days
item comes last in the results. In the order I provide it to QuickPick-25
comes before-172
,-235
,-263
. Is it configurable?Another example:
When I type
+m
I expect all Mondays with leading+n days
to appear from previous screenshot, but I see this instead:What could be the problem with it or am I missing something?
Thanks!
The text was updated successfully, but these errors were encountered: