Suggestion: Code Explorer AST view should filter nodes matching the ESQuery selector
维护者通常 1 天内回复
@DMartens 已经在做这个了。
开始于 2026年7月6日。
评估
这个 Issue 还没有评估数据。
描述
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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eslint/code-explorer 的其他 Issue
-
Bug: JSON AST view is not updated when the source changes after an error可能重新可做 @DMartens 于 38 天前认领,目前没有进行中的 PR。 未关闭bug repro:yes
eslint/code-explorer#541 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Suggestion: Upgrade Tailwind to v4可能重新可做 @crimsonjay0 于 41 天前认领,目前没有进行中的 PR。 未关闭dependencies enhancement
eslint/code-explorer#538 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
eslint/code-explorer#138 ·
维护者通常 1 天内回复
-
Suggestion: On code cursor movement, expand + highlight matching AST part可能重新可做 @xbinaryx 于 375 天前认领,目前没有进行中的 PR。 未关闭accepted enhancement
eslint/code-explorer#64 · 27 条评论 · 4 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
查看 eslint/code-explorer 的全部 Issue
相似的 Issue
-
area:workflow bug ready-for-human
难度 1/5 1 小时以内 新手友好度 78/100
fil-donadoni/tolaria#6108 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
apache/rocketmq-dashboard#7234 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
vitest-dev/vitest#11656 ·
维护者通常 1 天内回复
-
e2e-failure ready-to-code
难度 2/5 1-3 小时 新手友好度 68/100
redhat-developer/rhdh-plugin-export-overlays#4460 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
ehmpathy/rhachet-roles-bhrain#655 ·
维护者通常 1 天内回复