Skip to content
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

AST/ASR views: allow to click on the node to show position in the code #17

Open
certik opened this issue Aug 16, 2022 · 0 comments
Open

Comments

@certik
Copy link
Contributor

certik commented Aug 16, 2022

In the AST/ASR views, we should allow to click on the AST/ASR nodes, and when you do, it will highlight the given span in the code on the left. Also allow moving the the previous/next node using left/right arrows.

And going the other way: move the cursor in the code window and automatically highlight the AST/ASR node that corresponds to it (the nodes are typically nested, so more than one can correspond to a given cursor position, so we should highlight the one with the shortest span).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant