Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add a setting to scope the query CodeLens to the active query

未关闭
#141 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@AsafMah 已经在做这个了。

开始于 2026年8月31日。

  • #148 来自 @AsafMah —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
68/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript, vscode

调研方向

首先查看 pull request #125 中的原始原型,并找到 query CodeLens 实现、提议的 queryRangeScope helper 及其 unit test。添加一个 opt-in 设置,以便在所有查询块与活动光标/选择范围之间切换,同时保留运行中指示器并排除分隔符样式;当列出的光标、选择、多选、反向选择和边界测试通过时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

enhancement

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 queryRangeScope helper and its unit tests (cursor, selection, multi-selection, reversed selection, boundary cases) were the reusable part of #125.

Notes

主要语言
TypeScript
星标
6
派生
7
平均合并
1 天 6 小时
30 天内合并 PR
4

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/Kusto-Explorer-VsCode 的其他 Issue

查看 microsoft/Kusto-Explorer-VsCode 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。