eslint / eslint/code-explorer

Suggestion: On code cursor movement, expand + highlight matching AST part

Open
#64 24 comments 4 reactions 1 assignee Claimed by @xbinaryx View on GitHub
accepted enhancement
Dominant language
TypeScript
Stars
61
Forks
23
Avg merge
2d 19h
Merged PRs (30d)
24

Description

First of all, amazing that ESLint Code Explorer exists 🙌 🚀 Any movement in this AST / static analysis tooling area is great to see ❤️ Very useful for rule and plugin authors.

### What problem do you want to solve?

Currently, it is finicky to navigate through the AST sections on the right side.

### What do you think is the correct solution?

What do you think about adopting the feature from [AST explorer](https://astexplorer.net/) (see below) where changing the cursor position in the left pane causes the matching part of the AST in the right pane to be expanded and highlighted?

AST explorer feature video:

https://github.com/user-attachments/assets/c62d59d2-56a6-4c8b-8747-0d1ec09bcf12

### Participation

- [ ] I am willing to submit a pull request for this change.

### Additional comments

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.