Add a setting to scope the query CodeLens to the active query
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 68/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript, vscode
调研方向
首先查看 pull request #125 中的原始原型,并找到 query CodeLens 实现、提议的 queryRangeScope helper 及其 unit test。添加一个 opt-in 设置,以便在所有查询块与活动光标/选择范围之间切换,同时保留运行中指示器并排除分隔符样式;当列出的光标、选择、多选、反向选择和边界测试通过时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Follow-up to #125 (closed).
Context
#125 prototyped restricting the query action CodeLens to the active query block, plus a few related tweaks. The design feedback on that PR was that the change should not be unconditional — @danield137 agreed that shipping it behind a setting works. The branch has also drifted out of date with main, so the work is being re-done on a fresh branch rather than rebased.
Scope
Add an opt-in setting that controls whether the query action CodeLens is shown for every query block in the file (current behavior) or only for the query block containing the cursor/selection.
Behaviors from the original prototype worth carrying over:
- CodeLens scoped to the active query range, driven by cursor position, selection, multi-selection, reversed selection, and range boundaries.
- Running indicator stays visible when focus moves away from a running query.
- The
queryRangeScopehelper and its unit tests (cursor, selection, multi-selection, reversed selection, boundary cases) were the reusable part of #125.
Notes
- The separator-styling changes bundled into #125 are a separate concern; they should not ride along with this setting.
- Original prototype for reference: https://github.com/microsoft/Kusto-Explorer-VsCode/pull/125
- 主要语言
- TypeScript
- 星标
- 6
- 派生
- 7
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/Kusto-Explorer-VsCode 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 4/5 3-5 天 新手友好度 68/100
-
enhancement
难度 4/5 3-5 天 新手友好度 68/100
-
Results grid: show Count/Sum/Avg/Min/Max for selected numeric cells in a status bar可能已有人在做 @AsafMah 于 60 天前认领。 未关闭enhancement
难度 4/5 3-5 天 新手友好度 48/100
microsoft/Kusto-Explorer-VsCode#143 · 1 条评论 ·
-
Log Analytics / Application Insights connections truncate the full proxy URI to the bare hostname可能已有人在做 @AsafMah 于 59 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 55/100
microsoft/Kusto-Explorer-VsCode#139 · 1 条评论 · 1 个 reaction ·
查看 microsoft/Kusto-Explorer-VsCode 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
lichess-org/lila#22324 · 1 条评论 ·
维护者通常 1 天内回复
-
ep:WebGPU platform:web quantization
难度 2/5 1-3 小时 新手友好度 66/100
microsoft/onnxruntime#33752 ·
维护者通常 2 天内回复
-
[Skill Bug]: entra-agent-id: inaccurate blueprint permission inheritance and parent token sub claim未关闭bug entra-agent-id
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/GitHub-Copilot-for-Azure#3467 · 1 条评论 ·
维护者通常 1 天内回复
-
fix(worker): keep normal prepare waiting states failure-free可能已有人在做 @LichKing-2234 今天认领。 未关闭agent:codex priority:P1
难度 2/5 1-3 小时 新手友好度 72/100
AgoraIO-Extensions/agent-infra#3745 ·
维护者通常 1 天内回复
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framing可能已有人在做 @Eapp1e 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
makecindy/cindy#7973 · 1 条评论 ·
维护者通常 1 天内回复