Syntax Highlighting Only Helps differentiate between
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- powershell
- Bereich
- tooling
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- PowerShell
- Sterne
- 151
- Forks
- 55
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus PowerShell/EditorSyntax
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
PowerShell/EditorSyntax#224 · 2 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
PowerShell/EditorSyntax#222 · 2 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
PowerShell/EditorSyntax#221 · 2 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
PowerShell/EditorSyntax#220 · 2 Kommentare · 1 Reaktion ·
-
Issue-Bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
PowerShell/EditorSyntax#219 · 2 Kommentare ·
Alle Issues in PowerShell/EditorSyntax
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
0xMiden/bridge-portal#132 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
newrelic-experimental/preflight#793 · 1 Kommentar ·
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
babalae/bettergi-scripts-list#3674 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
caddyserver/caddy#8046 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
zilliztech/memsearch#759 ·