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

Improve tree-sitter-subtree #11663

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chtenb
Copy link
Contributor

@chtenb chtenb commented Sep 8, 2024

Make unnamed nodes visible in subtree view, to make it easier to debug things related to tree sitter trees.

Before After
before after

Copy link
Member

@the-mikedavis the-mikedavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hesitant to put anonymous nodes in the display but it doesn't look as crowded as I thought 👍

There's a unit test in syntax.rs for the display that will anonymous nodes added to fix the CI

@the-mikedavis the-mikedavis added A-tree-sitter Area: Tree-sitter A-command Area: Commands labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-command Area: Commands A-tree-sitter Area: Tree-sitter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants