-
Notifications
You must be signed in to change notification settings - Fork 8k
Remove the old fuzzy suggestion and fix the local script file name suggestion #25177
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should eventually move the other built-in suggestion regarding running exes from current directory to a FeedbackProvider and remove the legacy suggestion code completely
|
@SteveL-MSFT the other built-in suggestion was already moved to the FeedbackProvider code path ( PowerShell/src/System.Management.Automation/engine/Subsystem/FeedbackSubsystem/IFeedbackProvider.cs Lines 266 to 277 in 9f45f9a
Currently we still go through the old suggestion when the FeedbackProvider exp feature is disabled. Once FeedbackProvider exp feature is considered ready to move to stable, we will remove the old suggestion completely. |
|
/azp run PowerShell-CI-linux-packaging PowerShell-Windows-Packaging-CI |
|
No pipelines are associated with this pull request. |
|
📣 Hey @daxian-dbw, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
|
/backport to release/v7.5 |
|
Started backporting to release/v7.5: https://github.com/PowerShell/PowerShell/actions/runs/13905810343
|
|
@daxian-dbw an error occurred while backporting to "release/v7.5", please check the run log for details! GitHub Actions is not permitted to create or approve pull requests. |
PR Summary
The fuzzy command name suggestion for
CommandNotFounderror was moved out from experimental feature, but it (the legacy suggestion) doesn't work properly without theFeedbackProviderfeature enabled (see the screenshot below).This PR makes the following changes:
generaltoGeneral Feedback.PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.- [ ] Issue filed: