You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Some PowerShell cmdlets are not correctly highlighted as functions.
All strings that match the PowerShell cmdlet (or function) naming rules (Approved Verb-Noun) should be highlighted as function.
Changing the regular expression to look for the function as shown below highlighted all correctly formatted functions.
Using Powershell's naming convention instead of a keyword list is a good idea.
However, your verb list is missing some "verbs" like ForEach and Tee, so I'll be using highlightjs' verb list. I hope that's ok.
Information:
Description
Some PowerShell cmdlets are not correctly highlighted as functions.
All strings that match the PowerShell cmdlet (or function) naming rules (Approved Verb-Noun) should be highlighted as function.
Changing the regular expression to look for the function as shown below highlighted all correctly formatted functions.
old script (prism/components/prism-powershell.js)
new script
Example
For example, this cmdlet is not highlighted.
Get-AppxPackage
The text was updated successfully, but these errors were encountered: