tree-sitter-syntax-visualizer
This package allows for exploring tree-sitter
syntax trees. This can be useful either educationally, or when developing either a
package that uses the tree-sitter
AST or a tree-sitter
language itself.
Usage
Use Tree Sitter Syntax Visualizer: Toggle
command.
Features
- Collapsible AST node tree
- Highlight selected node in text editor
- Automatically select AST node for the current cursor position
- Show/Hide unnamed AST nodes
Contributing
Contributions are more than welcome! If you want to fix something or add a feature, please:
- Fork the repository
- Run
npm install
- Make your change
- Create a pull request