[Feature request] Support configurable spacing within expression parentheses.
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 780
- Forks
- 267
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PowerShell/PowerShellEditorServices
-
[Bug] None of the string overloads of `EditorExtensionServiceProvider.GetService()` work on .NET.Quizá libre de nuevo @andyleejordan la tomó hace 143 días y no hay ningún pull request abierto. Abierto
PowerShell/PowerShellEditorServices#2331 · 1 reacción · 2 asignados ·
-
Area-Language Server Issue-Enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PowerShell/PowerShellEditorServices#2315 · 1 comentario ·
-
Improve Constrained Runspace Debug ExperiencePosiblemente ocupada @JustinGrote la tomó hace 166 días. AbiertoArea-Debugging Issue-Enhancement
PowerShell/PowerShellEditorServices#2294 · 1 reacción · 2 asignados ·
-
Issue-Bug Needs: Triage
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PowerShell/PowerShellEditorServices#2293 · 1 comentario ·
-
Document outline drops child variables when a function/filter reuses a variable name declared earlier (scope-blind declaration dedup)Posiblemente ocupada @JustinGrote la tomó hace 194 días. Abierto
PowerShell/PowerShellEditorServices#2282 · 1 comentario · 1 reacción · 2 asignados ·
Todos los issues de PowerShell/PowerShellEditorServices
Issues similares
-
area-templates triage:bot-seen triage:needs-human
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
microsoft/aspire#22356 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Needs-Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
PowerShell/PowerShell#28432 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/aspire.dev#2184 ·
Los mantenedores suelen responder en 2 días
-
area-controls-refreshview platform/ios s/triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
dotnet/maui#40314 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Needs: Triage (Functions) v5 v5-preview5
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Azure/azure-functions-core-tools#5918 ·
Los mantenedores suelen responder en 1 día