PowerShell comment recognition is not correct
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- powershell
- Área
- tooling
Línea de trabajo
Reproduce the PowerShell example in the issue and inspect the syntax-highlighting grammar responsible for comment.line.powershell. Compare the highlighting of arg1, arg2, and arg3 with the stated valid and invalid comment positions. Done means the first two arguments are not categorized as comments while the valid inline comment remains correctly highlighted.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
From @stefanita-mitran on March 4, 2019 9:50
EG.
.\procedure.ps1 `
-arg1 $variableforarg1 ` #this syntax highlighting should not resemble a comment
-arg2 $variableforarg2 ` <#this syntax highlight should not resemble a comment because it's invalid to add a comment here #>
-arg3 $variableforarg3 <#this syntax higlight should be correct#>`
-arg4 $variableforarg4
The example above shows that the "arg1" and "arg2" have incorrect comments and should not be categorized as comment.line.powershell
Copied from original issue: Microsoft/vscode#69771
- Lenguaje dominante
- PowerShell
- Estrellas
- 151
- Forks
- 55
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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/EditorSyntax
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
PowerShell/EditorSyntax#224 · 2 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
PowerShell/EditorSyntax#222 · 2 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
PowerShell/EditorSyntax#221 · 2 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
PowerShell/EditorSyntax#220 · 2 comentarios · 1 reacción ·
-
Issue-Bug
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
PowerShell/EditorSyntax#219 · 2 comentarios ·