operator NOT (!) duplicated in unary and logical operators scopes, unary takes precedence
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- powershell
- 領域
- tooling
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- PowerShell
- 星號
- 149
- 分支
- 55
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
PowerShell/EditorSyntax 的其他 Issue
-
Tests fail on main branch可能已有人在做 @BryanCuneo 於 18 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 68/100
PowerShell/EditorSyntax#227 ·
-
難度 3/5 1-2 天 新手友好度 55/100
PowerShell/EditorSyntax#224 · 2 則留言 ·
-
難度 3/5 1-2 天 新手友好度 48/100
PowerShell/EditorSyntax#222 · 2 則留言 ·
-
難度 3/5 1-2 天 新手友好度 55/100
PowerShell/EditorSyntax#221 · 2 則留言 ·
-
難度 3/5 1-2 天 新手友好度 45/100
PowerShell/EditorSyntax#220 · 2 則留言 · 1 個 reaction ·
查看 PowerShell/EditorSyntax 的全部 Issue
相似的 Issue
-
enhancement tooling
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆
-
fix
難度 2/5 1-3 小時 新手友好度 68/100
idean3885/claude-ops-agent#1083 ·
維護者通常 1 天內回覆
-
needs-triage
難度 2/5 1-3 小時 新手友好度 62/100
stacklok/toolhive-catalog#1976 ·
維護者通常 1 天內回覆
-
status/need-triage
難度 2/5 1-3 小時 新手友好度 76/100
google-gemini/gemini-cli#30328 · 1 則留言 ·
維護者通常 1 天內回覆
-
in progress
難度 2/5 1-3 小時 新手友好度 79/100
manuscript-lang/manuscript#4385 ·
維護者通常 1 天內回覆