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

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

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

mkaput opened this issue Dec 20, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

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 mkaput added the enhancement New feature or request label Dec 20, 2024
@mkaput mkaput moved this to Triage in CairoLS Dec 20, 2024
@mkaput mkaput added this to CairoLS Dec 20, 2024
@Arcticae Arcticae moved this from Triage to Todo in CairoLS Jan 8, 2025
@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 CairoLS Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

2 participants