Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>cs-syntax-visualizerNew to Visual Studio Code? Get it now.
cs-syntax-visualizer

cs-syntax-visualizer

itn3000

|
11,197 installs
| (1) | Free
C# syntax visualizer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cs-syntax-visualizer README

this is the visual studio code extension for C# syntax tree visualizer

Features

C# syntax tree visualizer powered by roslyn

visualize c# syntax tree

Requirements

  • dotnet-cli version 1.0
  • graphviz(tested on 2.38)

Commands

  • Visualize C# syntax tree of whole file
    • Visualize C# syntax tree of active document
    • update graph when document edit
  • Visualize C# syntax tree of selected text
    • Visualize C# syntax tree of selected text
  • Export Visualized C# syntax tree as [FORMAT]
    • Export syntax tree as specific format file
    • currently,png and svg supported

Extension Settings

  • cssyntaxvisualizer.dotsPath: fullpath to graphviz dot command if empty or null,use GRAPHVIZ_DOT environment variable
  • cssyntaxvisualizer.dotnetPath: fullpath to dotnet command if empty or null,use dotnet

Known Issues

all issues(including feature enhancements) are listed in github.

Release Notes

Users appreciate release notes as you update your extension.

0.0.2

support export partial syntax tree(#1)

0.0.1

Initial release of c# syntax visualizer

Acknowledgements

I used plantuml previewer for visual studio code as a reference. I really appreciate.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft