Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#473 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@DMartens đang làm issue này rồi.

Từ ngày 6/7/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
64
Fork
26
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
33

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eslint/code-explorer

Tất cả issue của eslint/code-explorer

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.