-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
In the following snippet
Get-AzureVMImage
| where ImageFamily -eq $imageFamily
| sort PublishedDate -Descending
| select -ExpandProperty ImageName -First 1 the aliases sort and select are not highlighted like the where alias, besides representing the same type of filter/alias.
When expanding the snippet to
Get-AzureVMImage `
| Where-Object ImageFamily -eq $imageFamily `
| Sort-Object PublishedDate -Descending `
| Select-Object -ExpandProperty ImageName -First 1Where of Where-Object will be highlighted as keyword, Sort-Object won't be highlighted and Select-Object will be highlighted as command.
Expected behavior:
- all alias should be highlighted the same way.
- all commands (
Verb-xxx) should be highlighted the same way.
Note: there might be other keywords that are effected by this issue.
rkeithhill