| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
I guess that initial design was to hide common parameters because in cmdlets with many parameters they can annoy. If I remember right there was a suggestion to show common parameters with<Ctrl-Tab> but hide with <Tab>. |
Sorry, something went wrong.
|
Ok, found an unintended side effect that makes this a breaking change. With the filtering, you could do: gm -i $a as it prefers cmdlet params to common params. With this change, gm -i $a throws that the parameter is ambiguous as it could be -informationaction or -informationvariable. Will need some additional code to handle this case. |
Sorry, something went wrong.
reformat Get-Member tests as it had embedded tabs
|
With the new update and simpler fix, this is not a breaking change :) |
Sorry, something went wrong.
…r.Tests.ps1 Co-Authored-By: Ilya <darpa@yandex.ru>
|
PoshChan-Bot (@PoshChan) please retry static |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT), successfully started retry of PowerShell-CI-static-analysis |
Sorry, something went wrong.
|
PoshChan-Bot (@PoshChan) please retry windows |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT), successfully started retry of PowerShell-CI-Windows |
Sorry, something went wrong.
|
PoshChan-Bot (@PoshChan) please retry static |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT), successfully started retry of PowerShell-CI-static-analysis |
Sorry, something went wrong.
|
🎉v7.0.0-preview.6 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
The current code deliberately filtered out common parameters and preferring specific parameters. This resulted in tab completion where you only got results if the text matched a cmdlet parameter even though it would also match a common parameter. Fix is to use the filtering code only if it's not a tab complete situation. The tryExactMatching is only used when the cmdlet is being executed and not when tab complete is being used so we can use that to only exercise the filtering code.
PR Context
Fix #1265
PR Checklist