HashTable Key TextMate Scope Priority
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 48/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Calme
- Stack technique
- powershell
- Domaine
- devtools
Piste de recherche
Reproduce the example in VS Code with the shown PowerShell hashtable and inspect the TextMate scopes applied to keys and variables. Start by locating the syntax definitions for hashtable assignments and the variable scope precedence. Done means hash keys can receive a distinct color from variables without breaking the surrounding highlighting.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary of the new feature / enhancement
- Open VS Code
- Open a PowerShell File
- Copy the following into the file:
@{
'string' = 'value'
name = funcName
key = $Variable
}
Result:
Proposed technical implementation details (optional)
Currently the 'variable' TextMate scope is a higher precedence than the 'meta' scope so setting the meta.hashtable.assignment.powershell scope to a different color is overwritten by the variable scope.
Trying to get a the hash key to be a different color than variables
- 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 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 ·
-
Issue-Bug Needs: Triage :mag:
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
PowerShell/EditorSyntax#217 ·
Toutes les issues de PowerShell/EditorSyntax
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
0xMiden/bridge-portal#132 ·
-
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 ·