Skip to content

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Jan 9, 2023

Fixes #170484

I ended up adding both always, it can result in a lot of suggestions but it felt bad not suggesting some of them. We've talked about allow filtering that list before which would be cool here.

image

@Tyriar Tyriar added this to the January 2023 milestone Jan 9, 2023
@Tyriar Tyriar requested a review from meganrogge January 9, 2023 18:37
@Tyriar Tyriar self-assigned this Jan 9, 2023
@Tyriar Tyriar removed the request for review from meganrogge January 9, 2023 18:37
@Tyriar Tyriar requested a review from meganrogge January 9, 2023 19:16
@Tyriar Tyriar marked this pull request as ready for review January 9, 2023 19:16
@Tyriar
Copy link
Member Author

Tyriar commented Jan 9, 2023

@daxian-dbw a quick review of how this is being matched would be appreciated 🙂

@daxian-dbw
Copy link
Member

The matching looks good to me. I just realize that you can receive the standard output from an EXE without redirecting the stdout of the EXE, which is very handy 😄
About the fuzzy matching, the algorithm being used in PowerShell is not ideal, so the results are not very relevant sometimes.

@Tyriar
Copy link
Member Author

Tyriar commented Jan 9, 2023

@daxian-dbw I noticed some not so great results like python -> pwsh, since we're deferring to you we'll pick up improvements just by updating pwsh.

meganrogge
meganrogge previously approved these changes Jan 9, 2023
Copy link
Contributor

@meganrogge meganrogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove the .only and LGTM

@daxian-dbw
Copy link
Member

I noticed some not so great results like python -> pwsh

Yeah, that's why it's remains an experimental feature (PSCommandNotFoundSuggestion).

@Tyriar Tyriar requested a review from meganrogge January 10, 2023 15:08
@Tyriar Tyriar enabled auto-merge January 10, 2023 16:44
@Tyriar Tyriar merged commit 5fe77b7 into main Jan 10, 2023
@Tyriar Tyriar deleted the tyriar/170484 branch January 10, 2023 20:07
@github-actions github-actions bot locked and limited conversation to collaborators Feb 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add quick fix provider for new pwsh preview feedback providers

4 participants