Skip to content

Make suggestion system string distance algorithm case-insensitive - #10549

Merged
Travis Plunk (TravisEz13) merged 2 commits into
PowerShell:masterfrom
iSazonov:make-suggestions-case-insensetive
Sep 24, 2019
Merged

Travis Plunk (TravisEz13) merged 2 commits into
PowerShell:masterfrom
iSazonov:make-suggestions-case-insensetive

Conversation

@iSazonov

@iSazonov Ilya (iSazonov) commented Sep 16, 2019 •

Copy link
Copy Markdown
Collaborator

PR Summary

Fix #10546

PR Context

Suggestion system uses a string distance algorithm which should be case-insensitive to find command names (and file names) which have chars in different cases.

PR Checklist

@iSazonov Ilya (iSazonov) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Sep 16, 2019
@iSazonov Ilya (iSazonov) added this to the 7.0.0-preview.5 milestone Sep 16, 2019
@TravisEz13 Travis Plunk (TravisEz13) added the AutoMerge informs the bot to automerge the PR label Sep 16, 2019
@ghost

Copy link
Copy Markdown

Hello Travis Plunk (@TravisEz13)!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 24 hours, a condition that will be fulfilled in about 12 hours 44 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@daxian-dbw Dongbo Wang (daxian-dbw) removed the AutoMerge informs the bot to automerge the PR label Sep 17, 2019
@iSazonov

Copy link
Copy Markdown
Collaborator Author

Travis Plunk (@TravisEz13) I think we can merge.

@TravisEz13

Copy link
Copy Markdown
Member

Dongbo Wang (@daxian-dbw) Please review again

@daxian-dbw

Copy link
Copy Markdown
Member

My concern has been addressed.

@TravisEz13
Travis Plunk (TravisEz13) merged commit 5dbaeb8 into PowerShell:master Sep 24, 2019
@iSazonov
Ilya (iSazonov) deleted the make-suggestions-case-insensetive branch September 25, 2019 02:59
@ghost

Copy link
Copy Markdown

🎉v7.0.0-preview.5 has been released which incorporates this pull request.:tada:

Handy links:

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
…werShell#10549)

* Make string distance algoriphm case-insensitive

* Use CurrentCulture in ToUpper()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PowerShell 7 Preview 3] Typing commands with different casing returns different suggestions

4 participants