Skip to content

AST Viewer selection bounces around #656

@aeisenberg

Description

@aeisenberg

When clicking on an entry in the AST viewer, if there is a child entry whose source location is identical to the parent's location, the selected entry will change to the child entry.

The reason is that we do a depth first search of the best tree selection based on current text selection.

Possible solution: when determining which viewer node to select, if two nodes have the same source location, but one is already selected don't change the selection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    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