Closed NamelessUzer closed 6 months ago
You can run KeywordUpdate.py to updated associated C source stlPowerShell.c.
It will be great if we can update cmdlet (Get-Command
), alias (Get-Alias
) and variable (Get-Variable
) list to PowerShell 7.4 LTS. Find out new cmdlet is easy by using group_powershell_commands()
(inside Misc.py) to group Get-Command
output. Find out updated cmdlet in 7.3 and 7.4 will requires some time.
You can run KeywordUpdate.py to updated associated C source stlPowerShell.c.
It will be great if we can update cmdlet (
Get-Command
), alias (Get-Alias
) and variable (Get-Variable
) list to PowerShell 7.4 LTS. Find out new cmdlet is easy by usinggroup_powershell_commands()
(inside Misc.py) to groupGet-Command
output. Find out updated cmdlet in 7.3 and 7.4 will requires some time.
I found not only cmdlets are listed in tools\lang\powershell.ps1, but also the syntaxs for each cmdlet are listed. It really requires some time.
I found not only cmdlets are listed in tools\lang\powershell.ps1, but also the syntaxs for each cmdlet are listed.
Yes, people build custom version of Notepad2 can include cmdlet parameters in auto-completion data. https://github.com/zufuliu/notepad2/blob/884e303621dbfac098f0249177e19df3279177a3/tools/KeywordCore.py#L1882-L1884
Here are steps I used to update cmdlet in tools\lang\PowerShell.ps1
:
pwsh.exe
and redirect Get-Command
output, group the ouput with Misc.py
to find out new (uncolored) cmdlets, then open Reference section to get full syntax.It really requires some time.
It's fine If you not want to spend time on updating them.
committed as 92c9645a3079fdfa16ea74e5f50a895f1999e13f.
The clean block was added in PowerShell 7.3. You can find the officical document via this url https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_functions_advanced_methods?view=powershell-7.4#clean