VS Code Extension

The VS Code extension provides command palette, explorer, and editor-title actions around VizzyCode.Cli and the Juno Live Bridge. vscode extension

Implementation file

The extension logic lives in vscode-extension/extension.js, with command metadata in vscode-extension/package.json.

Commands

CommandDescription
VizzyCode: Import XML to CodeConvert selected XML into .vizzy.cs plus sidecar.
VizzyCode: Export Code to XMLConvert .vizzy.cs to XML through CLI validation.
VizzyCode: Round-Trip XMLRun XML code XML and report the result.
VizzyCode: Connect to JunoCheck bridge status.
VizzyCode: Import Vizzy from Running GameRead Vizzy XML from a selected part through the bridge.
VizzyCode: Export Vizzy to Running GameSend generated XML to a selected part through the bridge.
VizzyCode: Browse Craft Parts in JunoList current craft parts.
VizzyCode: View Stages in JunoInspect stage and activation group metadata.
VizzyCode: Save Juno Telemetry JSONSave live telemetry JSON.
VizzyCode: Save Full Juno Craft Snapshot JSONSave full craft snapshot JSON.
VizzyCode: Save Juno Telemetry Report for Humans/AISave readable telemetry report Markdown.
VizzyCode: Save Full Juno Craft Report for Humans/AISave readable craft report Markdown.

Installation

Recommended installer:

.\scripts\install-vscode-integration.ps1

The script performs the full workflow:

StepResult
Publish CLIBundled command-line converter for the extension.
Prepare extension foldervscode-extension-dist with extension files and CLI.
Package VSIXInstallable extension artifact.
Install extensionCommands become available in VS Code.

Generated Artifacts

ArtifactPurpose
vscode-extension-dist\Self-contained extension distribution folder.
.vsix packageInstallable VS Code extension package.
Bundled CLIConverter executable used by extension commands.

Manual VSIX Installation

code --install-extension ".\vizzycode-tools.vsix"

Reload VS Code after installation:

code --reuse-window .

Command discovery

Open the Command Palette and search for VizzyCode. Also check context menus on .xml and .cs files.

Restricted Mode / Workspace Trust

The extension declares support for untrusted workspaces. Commands should remain visible in restricted mode, but command behavior still depends on local CLI availability and file access.

Local tools still matter

Restricted Mode support does not replace the need for a valid CLI path, readable inputs, and writable output folders.

Troubleshooting

Commands do not appear

Confirm the extension is installed and enabled, reload the VS Code window, and search the Command Palette for VizzyCode.

Export command fails

Run the same file through Export and read validator output from 04 - Export Validation.

Juno commands fail

Check Endpoint Reference, verify the mod is running, and confirm GET /status responds.

Extension checklist
  • Run the integration installer.
  • Reload VS Code.
  • Verify VizzyCode commands appear.
  • Test CLI import/export on a small XML file.
  • Test bridge status before importing from the running game.

Related notes: 03 - CLI (VizzyCode.Cli), 04 - Export Validation, 06 - Juno Live Bridge, 08 - AI Integration, 13 - Recommended Workflows, 14 - Troubleshooting.