Possible update to syntax highlighting for `??` `??=` `?.` `?[]` operators
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- powershell
- 領域
- tooling
研究方向
Start by locating the repository's PowerShell syntax-highlighting definitions and reviewing how operators are tokenized. Use the provided examples to check highlighting for ??, ??=, ?., and ?[]; done means these operators receive the expected syntax treatment.
由索引模型根據 Issue 內容生成。
描述
Environment
- Editor and Version (VS Code, Atom, Sublime):
- Your primary theme: Dark
Issue Description
New feature added to PowerShell https://github.com/PowerShell/PowerShell/pull/10636 for null coalescing operators.
New feature added to PowerShell https://github.com/PowerShell/PowerShell/pull/10960 for null conditional member access.
Screenshots
Expected Behavior
Code Samples
$x ?? $y
$x ??= 10
${x}?.name
${x}?[0]
${x}?.MyMethod()
${x}?.name = 'myname'
${x}?['item'] = 'value'
- 主要語言
- 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
-
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 天內回覆
-
[hooks] SessionStart injects the knowledge-update frontmatter on a CRLF checkout可能已有人在做 @abhiramshaji-cyber 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 86/100
vercel/vercel-plugin#429 ·
維護者通常 1 天內回覆
-
scope: canons scope: cli type: ci
難度 2/5 1-3 小時 新手友好度 78/100
PAIR-code/canon-clerk#334 ·
維護者通常 1 天內回覆