Skip to content

"Show in AST viewer" command #707

@p0

Description

@p0

Is your feature request related to a problem? Please describe.
I'd like an easy way to view the AST of a particular construct. One workflow I keep trying is right-clicking in a source archive file, and looking for a "show in AST viewer" option.

Describe the solution you'd like
A new command for showing the current file in the AST viewer (if it isn't already there) and navigating to the node whose location is at the cursor.

Describe alternatives you've considered
The current workaround is to navigate to the AST viewer pane, clear the current AST, show the AST for the current file, and then click once more on the construct I want the tree view to navigate to. This could be condensed into a single command invocation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions