No Syntax Highlighting for `enum` declarations
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 42/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- powershell
- Domínio
- tooling
Direção de pesquisa
Reproduce the report by opening a .ps1 or .psm1 file containing an enum declaration in VS Code, then trace the PowerShell syntax-highlighting grammar used by EditorSyntax. Done means enum declarations receive syntax highlighting without regressing existing PowerShell highlighting; compare the result with the behavior described in the issue.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
Summary
Syntax highlighting for enum declarations in VS Code is non-existent:

PowerShell Version
Name Value
---- -----
PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visual Studio Code Version
1.60.0-insider
49af1cbe00271ac2ea36cfc5f7352fe31a7b0094
x64
Extension Version
[email protected]
[email protected]
[email protected]
Steps to Reproduce
Open any .ps1 or .psm1 file with an enum declaration.
Visuals
No response
Logs
No response
- Linguagem predominante
- PowerShell
- Estrelas
- 149
- Forks
- 55
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o 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
-
Tests fail on main branchTalvez já em andamento @BryanCuneo assumiu há 18 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
PowerShell/EditorSyntax#227 ·
-
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 ·
Todas as issues de PowerShell/EditorSyntax
Issues semelhantes
-
needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
stacklok/toolhive-catalog#1976 ·
Mantenedores costumam responder em até 1 dia
-
status/need-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
google-gemini/gemini-cli#30328 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
ms lint --fix removes the Decimal import that a decimal literal needs, then re-adds it foreverAbertain progress
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
manuscript-lang/manuscript#4385 ·
Mantenedores costumam responder em até 1 dia
-
[hooks] SessionStart injects the knowledge-update frontmatter on a CRLF checkoutTalvez já em andamento @abhiramshaji-cyber assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
vercel/vercel-plugin#429 ·
Mantenedores costumam responder em até 1 dia
-
scope: canons scope: cli type: ci
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
PAIR-code/canon-clerk#334 ·
Mantenedores costumam responder em até 1 dia