-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: On code cursor movement, expand + highlight matching AST part #64
Comments
I think this is a good idea, and definitely something I've been thinking about. We just didn't want to hold up the release waiting for it. I'm not sure how difficult it would be to do this. Maybe @amareshsm or @harish-sethuraman have an idea? |
Yea we can consider implementing this feature but wanted to clarify a few doubts.
more of how this works from what I saw on astexplorer
|
Yes
Yes
That would require some changes to the design, so I'd say let's leave this off for now and address this as a separate enhancement later if people request to be able to disable this behavior. |
I'd like to take a shot at this. For this we'd need some improvements on the existing codebase for which I'll be sending PRs. |
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 (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:
Screen.Recording.2024-10-03.at.15.32.14.mov
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: