Add completers for the Property parameter for Compare-Object and ConvertTo-Html#25233
Add completers for the Property parameter for Compare-Object and ConvertTo-Html#25233MartinGC94 wants to merge 1 commit intoPowerShell:masterfrom
Conversation
Have we tests for these existing completers? |
|
@MartinGC94 Please see #25234 It was created after conversation with @daxian-dbw I don't remember who asked me - you or @ArmaanMcleod - but now we have exact roadmap. |
Yes there should be. The MemberName completer is used by a lot of different commands. The GetSpecialHashTableKeyMembers method was updated by me and I see a test with Get-WinEvent here: https://github.com/PowerShell/PowerShell/pull/16498/files and I know I've made other PRs with tests in that area as well.
|
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
PR Summary
This PR adds completers for the Property parameter of Compare-Object and ConvertTo-Html. This includes both the simple use like:
ls | ConvertTo-Html -Property Na<Tab>and the calculated property use:ls | ConvertTo-Html -Property @{Labe<Tab>}I haven't added any tests as this is just adding new items to an existing list (well, switch) of commands to complete with existing completers.
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:
(which runs in a different PS Host).