VS Code companion for the CS Visualizer app — visualize Java & C# code with recursion trees, flowcharts, OOP diagrams, data structures, and complexity analysis. Requires the free CS Visualizer desktop app.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Visualize your Java and C# code directly inside VS Code — without leaving your editor.
This extension is a companion to the CS Visualizer desktop app. It connects to the app running locally on your machine and renders visualizations inside a VS Code panel. The desktop app must be installed and running.
Right-click any code selection to open:
Flowchart — visualize control flow
Recursion Tree — trace recursive calls step by step
Complexity Analyzer — Big-O analysis of your algorithm
OOP Diagram — class hierarchy and runtime visualization
Data Structures — animate arrays, linked lists, trees, stacks and more
Getting Started
Download and install the CS Visualizer desktop app from cs-visualizer.com
Launch the app — it runs a local server on port 8080
Open any Java or C# file in VS Code, select some code, right-click and choose a visualizer
Requirements
The CS Visualizer desktop app must be running before using this extension. If it's not running, the extension will prompt you to download it.