Skip to content

Request: Please allow the switching of up/down and left/right in tree modes #13

@Richiban

Description

@Richiban

I feel like, to me, the up/down direction and the left/right directions in tree-sitter and line-tree modes are the wrong way round. Currently up and down move shallower and deeper in the syntax tree, while left and right move between siblings. I'm finding this very difficult to get used to because in all other contexts in which I've used such a feature the 'tree' has been rotated the other way, where up/down would move between siblings and left/right would move shallower and deeper in the tree.

Some examples of trees with this orientation are the outline and breadcrumb views within VS Code itself:

Screenshot 2022-11-01 at 15 21 25

Screenshot 2022-11-01 at 15 22 22

Given this I'd really appreciate the ability to swap the directions through use of a configuration option!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions