Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Tree-sitter ViewerNew to Visual Studio Code? Get it now.
Tree-sitter Viewer

Tree-sitter Viewer

guoxin

|
552 installs
| (0) | Free
Use `Tree-sitter` to parse and view the abstract syntax tree of your code in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

tree-sitter-viewer

这是一个类似于 Tree-sitter 官网游乐场的VS Code扩展插件。
您可以使用该插件方便的查看不同开发语言的抽象语法树。
以下是目前支持查看语法树的语言列表:

  • Bash
  • C
  • C++
  • C#
  • CSS
  • Go
  • Haskell
  • HTML
  • Java
  • JavaScript
  • JSON
  • PHP
  • Python
  • Regex
  • Ruby
  • Rust
  • Scala
  • TypeScript

功能演示

功能演示

已知问题

https://github.com/xiaonatuo/tree-sitter-viewer/issues

更多信息

  • Github

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft