'select' and 'sort' aliases not highlighted.
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- powershell
- Domínio
- tooling
Direção de pesquisa
Start by reproducing the PowerShell snippets from the issue in a supported editor and compare highlighting for the aliases where, sort, and select with Where-Object, Sort-Object, and Select-Object. Done means aliases receive consistent highlighting and all Verb-xxx commands are highlighted consistently, including related keywords identified during investigation.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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 1
Where 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.
- Linguagem predominante
- PowerShell
- Estrelas
- 151
- Forks
- 55
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de PowerShell/EditorSyntax
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
PowerShell/EditorSyntax#224 · 2 comentários ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 48/100
PowerShell/EditorSyntax#222 · 2 comentários ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
PowerShell/EditorSyntax#221 · 2 comentários ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
PowerShell/EditorSyntax#220 · 2 comentários · 1 reação ·
-
Issue-Bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 48/100
PowerShell/EditorSyntax#219 · 2 comentários ·
Todas as issues de PowerShell/EditorSyntax
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
nightscout/nocturne#1424 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Abertaarea: repo bug perceived difficulty: 2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
-
impl detach for native Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
paritytech/zombienet-sdk#591 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
mruangutai/harness#1897 ·