Skip to content

Xapphire13/tree-sitter-syntax-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

screenshot

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:

  1. Fork the repository
  2. Run npm install
  3. Make your change
  4. Create a pull request