Syntax Highlighting Only Helps differentiate between
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- powershell
- Domaine
- tooling
Piste de recherche
Start by locating the PowerShell syntax-highlighting definitions in the EditorSyntax repository and reproduce the provided code sample in the listed editors and themes. Compare highlighting for commands, variables, parameters, methods, properties, and $_; done means these categories receive consistent, distinct colors where the grammar supports them.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Environment
- Editor and Version (VS Code, Atom, Sublime (tried in all 3 problem has been there for a year if not more)):
- Your primary theme: Monokai
Issue Description
- Syntactical components are not as distinguished by color as they should be.
- Variables, Parameters/Switches, methods/properties all share the same color
- Commands/Functions can be different colors after a pipe
- Commands/Functions, Variables, Parameters/Switches, methods/properties should each have their own individual color
- There seems to be another problem of inconsistency in color with
$_and$_. - Monokai was just one of the better ones, it was worse in most other themes, including the vscode default dark, and powershell ISE theme
Screenshots

Expected Behavior
- Commands/Functions, Variables, Parameters/Switches, methods/properties should each have their own individual color REGARDLESS of theme
Code Samples
$variable = (Select-Object -Property Item, "Item2").item[0]
$variable.method | Where ($_.something -eq "$word")
$date = Get-Date
$date.day
- Langage dominant
- PowerShell
- Étoiles
- 151
- Forks
- 55
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de PowerShell/EditorSyntax
-
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
PowerShell/EditorSyntax#224 · 2 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
PowerShell/EditorSyntax#222 · 2 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
PowerShell/EditorSyntax#221 · 2 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
PowerShell/EditorSyntax#220 · 2 commentaires · 1 réaction ·
-
Issue-Bug
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
PowerShell/EditorSyntax#219 · 2 commentaires ·
Toutes les issues de PowerShell/EditorSyntax
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
newrelic-experimental/preflight#793 · 1 commentaire ·
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
babalae/bettergi-scripts-list#3674 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
caddyserver/caddy#8046 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
zilliztech/memsearch#759 ·
-
[Bug]: classify_items.py cron script never includes its own required JSON schema in the prompt Ouvertecomp/cron P2 sweeper:risk-automation type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
NousResearch/hermes-agent#117792 · 1 commentaire ·