operator NOT (!) duplicated in unary and logical operators scopes, unary takes precedence
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 45/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- powershell
- Domaine
- tooling
Piste de recherche
Locate the syntax-highlighting grammar that defines the unary and logical operator scopes, then inspect the regex for the reported trailing |!. Verify the ! operator is classified in the intended scope and confirm the highlighting behavior in a PowerShell editor.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Environment
- Editor and Version: VS Code: 1.26.1
- Your primary theme: Monokai Dimmed
Issue Description
The NOT logical operator ! is duplicated in the unary operator (-split/-join) and in the logical operator scope, and the unary operator scope seems to take precedence.
I think this is just an accident of a |! left at the end of the unary scope's regex.
Isn't unary operators those like ++ and --? Okay, I suppose ! and -NOT operators are consider unary, but that's not where PowerShell Docs classified them.
- Langage dominant
- PowerShell
- Étoiles
- 149
- Forks
- 55
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire 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
-
Tests fail on main branchPeut-être pris @BryanCuneo l’a pris il y a 18 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
PowerShell/EditorSyntax#227 ·
-
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 ·
Toutes les issues de PowerShell/EditorSyntax
Issues similaires
-
needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
stacklok/toolhive-catalog#1976 ·
Les mainteneurs répondent en général sous 1 jour
-
status/need-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
google-gemini/gemini-cli#30328 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
ms lint --fix removes the Decimal import that a decimal literal needs, then re-adds it foreverOuvertein progress
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
manuscript-lang/manuscript#4385 ·
Les mainteneurs répondent en général sous 1 jour
-
[hooks] SessionStart injects the knowledge-update frontmatter on a CRLF checkoutPeut-être pris @abhiramshaji-cyber l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
vercel/vercel-plugin#429 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
fishjar/kiss-translator#1381 ·
Les mainteneurs répondent en général sous 1 jour