[Feature request] Support configurable spacing within expression parentheses.
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
The request is for a configurable SpaceWithinParentheses option on the PSUseConsistentWhitespace rule, modeled on the C-style formatter option the issue cites. Start by finding that rule and its existing options, and compare how the C-style option handles spacing inside parentheses. Done means the option is configurable and produces ( $x + 1 ) or ($x + 1) as set, with tests covering both values. The issue itself proposes no design, so confirm the scope with maintainers before writing code.
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 requested.
Summary
Configurable spacing within expression parentheses.
Example:
( $x + 1 ) vs ($x + 1)
It would ideally be exposed through PSUseConsistentWhitespace as a configurable option. This would be like the C-style formatter option: SpaceWithinParentheses = true
I've always used this style but it's become a problem with automatic code generation.
Proposed Design
I think this could be borrowed from the C formatter.
- Linguagem predominante
- C#
- Estrelas
- 780
- Forks
- 267
- 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/PowerShellEditorServices
-
[Bug] None of the string overloads of `EditorExtensionServiceProvider.GetService()` work on .NET.Talvez livre de novo @andyleejordan assumiu há 143 dias e não há nenhum pull request aberto. Aberta
PowerShell/PowerShellEditorServices#2331 · 1 reação · 2 responsáveis ·
-
Area-Language Server Issue-Enhancement
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
PowerShell/PowerShellEditorServices#2315 · 1 comentário ·
-
Improve Constrained Runspace Debug ExperienceTalvez já em andamento @JustinGrote assumiu há 166 dias. AbertaArea-Debugging Issue-Enhancement
PowerShell/PowerShellEditorServices#2294 · 1 reação · 2 responsáveis ·
-
Issue-Bug Needs: Triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
PowerShell/PowerShellEditorServices#2293 · 1 comentário ·
-
Document outline drops child variables when a function/filter reuses a variable name declared earlier (scope-blind declaration dedup)Talvez já em andamento @JustinGrote assumiu há 194 dias. Aberta
PowerShell/PowerShellEditorServices#2282 · 1 comentário · 1 reação · 2 responsáveis ·
Todas as issues de PowerShell/PowerShellEditorServices
Issues semelhantes
-
area-templates triage:bot-seen triage:needs-human
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
microsoft/aspire#22356 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Needs-Triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
PowerShell/PowerShell#28432 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
microsoft/aspire.dev#2184 ·
Mantenedores costumam responder em até 2 dias
-
area-controls-refreshview platform/ios s/triaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
dotnet/maui#40314 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Needs: Triage (Functions) v5 v5-preview5
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Azure/azure-functions-core-tools#5918 ·
Mantenedores costumam responder em até 1 dia