Syntax Highlighting Only Helps differentiate between
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- powershell
- Ambito
- tooling
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- PowerShell
- Stelle
- 151
- Fork
- 55
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PowerShell/EditorSyntax
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
PowerShell/EditorSyntax#224 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
PowerShell/EditorSyntax#222 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
PowerShell/EditorSyntax#221 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
PowerShell/EditorSyntax#220 · 2 commenti · 1 reazione ·
-
Issue-Bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
PowerShell/EditorSyntax#219 · 2 commenti ·
Tutte le issue di PowerShell/EditorSyntax
Issue simili
-
bug-unconfirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
duckdb/duckdb-python#627 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
spec-kitty/spec-kitty#4854 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
agentscope-ai/QwenPaw#7921 · 1 commento ·