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

Add an ability to preview AST of selected Code in the side panel #46

Closed
mkaput opened this issue Dec 20, 2024 · 1 comment
Closed

Add an ability to preview AST of selected Code in the side panel #46

mkaput opened this issue Dec 20, 2024 · 1 comment
Assignees

Comments

@mkaput
Copy link
Member

mkaput commented Dec 20, 2024

Problem

When working on procmacros or LS inspections, it is challenging to learn what AST are we looking at.

Proposed Solution

This should be similar to RA's Show Syntax Tree command:
Image

Even better would be something like IntelliJ's PSI Viewer: https://www.jetbrains.com/help/idea/psi-viewer.html

Notes

No response

@mkaput
Copy link
Member Author

mkaput commented Jan 14, 2025

my wishlist:

  1. make it possible to show just the token and all its AST parents under cursor
  2. make it possible to see the stack of LookupItemIds

@piotmag769 piotmag769 moved this from Todo to In Progress in Cairo Language Services Jan 16, 2025
@mkaput mkaput closed this as completed Feb 19, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Cairo Language Services Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants