Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>jsonantt — Gantt Chart PreviewNew to Visual Studio Code? Get it now.
jsonantt — Gantt Chart Preview

jsonantt — Gantt Chart Preview

Brian Day

|
1 install
| (0) | Free
Live-preview jsonantt Gantt charts, tables, and burn charts directly inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

jsonantt VS Code Extension

Live-preview jsonantt Gantt charts, task tables, and burn charts directly inside VS Code — no terminal required.


Features

  • Live preview pane — opens beside the active JSON editor.
  • Multiple chart types — Gantt chart, task table, burn chart, burn table.
  • Toolbar controls — render depth, burn field/period/group, date line, compare mode, milestone filters.
  • Auto-preview modes — re-render on every keystroke (debounced), on save, or manually via the Refresh button.
  • Export — save the rendered SVG to disk from inside VS Code.

Requirements

jsonantt must be installed in the Python environment available to VS Code:

pip install jsonantt

The extension looks for jsonantt on PATH, then tries python3 -m jsonantt and python -m jsonantt.
Use the jsonantt.pythonPath setting to point at a specific Python executable.


Getting Started

  1. Open a .json file that describes a jsonantt chart (see the examples).
  2. Click the graph icon (⊞) in the editor title bar, or open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and run jsonantt: Open jsonantt Preview.
  3. The preview pane opens beside your editor. Edit the JSON and the chart updates automatically (based on the jsonantt.autoPreview setting).

Extension Settings

Setting Type Default Description
jsonantt.pythonPath string "" Path to the Python executable with jsonantt installed.
jsonantt.autoPreview "onType" | "onSave" | "manual" "onSave" When to re-render.
jsonantt.defaultChartType "chart" | "table" | "burn" | "burn-table" "chart" Chart type shown when the preview opens.
jsonantt.defaultDpi number 150 Image DPI for raster output.

Development

cd vscode-extension
npm install
npm run compile

To launch a development host with the extension loaded, open the vscode-extension/ folder in VS Code and press F5.

To package the extension as a .vsix file:

npm run package

Repository Layout

vscode-extension/
  package.json          Extension manifest
  tsconfig.json
  src/
    extension.ts        Activation, command registration, document listeners
    previewPanel.ts     WebviewPanel lifecycle and postMessage bridge
    renderer.ts         Spawns the jsonantt CLI, returns SVG data
    webview/
      panel.css         Webview styles (VS Code CSS variables)
      panel.js          Webview-side JS (toolbar, postMessage)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft