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
@gjsjohnmurray I was messing around with a function that does this in the past. Not sure if it's complete though becuase it doesn't handle glob characters. It also converts the pattern to lowercase so in the query the column needs to be wrapped in LOWER. The explicit LOWER is needed because come columns have exact collation, so LIKE is case sensitive for them.
/** Convert `query` to a fuzzy LIKE compatible pattern */exportfunctionqueryToFuzzyLike(query: string): string{letp="%";for(constcofquery.toLowerCase())p+=`${["_","%","\\"].includes(c) ? "\\" : ""}${c}%`;returnp;}
gjsjohnmurray
changed the title
Fuzzy match in Explorer tree search of an ISFS folder not fixed by #1443
Fuzzy match in Explorer tree Find on an ISFS folder not fixed by #1443
Oct 4, 2024
gjsjohnmurray
added a commit
to gjsjohnmurray/vscode-objectscript
that referenced
this issue
Oct 4, 2024
#1444 got Explorer Find working again for 1.94 but didn't deal with fuzzy match mode.
Related to microsoft/vscode#230483 (comment)
I will prepare a PR.
The text was updated successfully, but these errors were encountered: