Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Simple code cfg visualizerNew to Visual Studio Code? Get it now.
Simple code cfg visualizer

Simple code cfg visualizer

chaleshka

|
11 installs
| (0) | Free
Syntax highlighting for the S language with visualization of control flow graphs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Simple Code CFG Visualizer

Syntax highlighting and interactive Control Flow Graph (CFG) visualization for the Simple (S) programming language in Visual Studio Code.

Features

  • Syntax highlighting for .slang and .simple files.
  • One-click CFG generation from the active editor.
  • Interactive graph navigation:
    • zoom with the mouse wheel;
    • pan by dragging;
    • reset the view with a double click.
  • Export the generated graph as:
    • SVG — a vector image;
    • DOT — Graphviz source code.
  • Built-in compiler binaries for:
    • Windows x64;
    • Windows ARM64;
    • Linux x64;
    • Linux ARM64.

Usage

  1. Open a .slang or .simple source file.
  2. Click Show CFG in the editor title bar, or run Simple: Show CFG from the Command Palette.
  3. The extension generates the control flow graph and opens it in a separate editor tab.
  4. Use the buttons in the graph viewer to download SVG or DOT output.

Commands

Command Description
Simple: Show CFG Generates and displays the control flow graph for the active Simple source file.

Language Support

The extension registers the s-language language ID and associates it with:

  • .slang
  • .simple

Requirements

  • Visual Studio Code version 1.125.0 or newer.

Known Limitations

  • CFG generation is available only on supported Windows and Linux architectures listed above.
  • Large graphs may take noticeable time to generate and render.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft