HashTable Key TextMate Scope Priority
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- powershell
- 领域
- devtools
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- 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 天 新手友好度 55/100
PowerShell/EditorSyntax#221 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
PowerShell/EditorSyntax#220 · 2 条评论 · 1 个 reaction ·
-
Issue-Bug
难度 3/5 1-2 天 新手友好度 48/100
PowerShell/EditorSyntax#219 · 2 条评论 ·
查看 PowerShell/EditorSyntax 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
area: cli severity: medium tech-debt
难度 2/5 1-3 小时 新手友好度 75/100
TMHSDigital/subenum#402 ·
维护者通常 1 天内回复
-
bug help wanted
难度 2/5 1-3 小时 新手友好度 76/100
blixvip/html-anime#60 ·
维护者通常 1 天内回复
-
hive size:simple
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
gen ctrl: appends duplicate parameterless NewV1()/ControllerV1 when the existing NewV1 takes parameters可能已有人在做 @Lizjunn 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复