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

Suggestion: Code Explorer AST view should filter nodes matching the ESQuery selector

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

维护者通常 1 天内回复

@DMartens 已经在做这个了。

开始于 2026年7月6日。

评估

这个 Issue 还没有评估数据。

描述

enhancement
What problem do you want to solve?

Currently the ESQuery selector above the editor highlights the text of the matching nodes but the matched nodes may be hard to find in the AST view.

What do you think is the correct solution?

I think the ESQuery selector should also be used to filter the AST view only showing matching nodes similar to the typescript-eslint playground.
This could be done either automatically in the "Tree" view if the selector is set or by an additional AST view (current AST views are "Tree" and "JSON").

Participation
  • I am willing to submit a pull request for this change.
AI acknowledgment
  • I did not use AI to generate this issue report.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.
Additional comments

The idea came from testing the markdown parser with selector :not([position]) to find nodes without location information. The problem is they cannot be highlighted because of the missing location information. This means even if #64 (going to node by clicking on the respective code) is resolved, it would not help in this situation.

主要语言
TypeScript
星标
64
派生
25
平均合并
1 天 18 小时
30 天内合并 PR
33

环境准备

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

从这里开始

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

eslint/code-explorer 的其他 Issue

查看 eslint/code-explorer 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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