Overview

The Gizzi Code VS Code extension brings Allternit code assistance directly into Visual Studio Code. It provides commands for explaining, refactoring, generating tests, reviewing, and fixing code, plus an interactive sidebar chat panel. The extension communicates with any Allternit-compatible API endpoint via the chat-completions protocol.

Base URL

Install from the .vsix package or the VS Code Marketplace when published.
Default API endpoint in settings:

Commands

Configuration

Configure in settings.json:

Endpoints used

Request / response examples

Explain selection

The extension sends the active editor content and selection:
Response:

Refactor selection

The extension extracts a markdown code block from the response and offers to replace the full document content.

Generate tests

The generated test code is opened in a new untitled editor. The Gizzi Code sidebar is a webview chat panel. Messages are exchanged between the webview and the extension host:

Build and install

Install the resulting .vsix through VS Code: Extensions → ⋯ → Install from VSIX… Development mode:

Error codes

The extension surfaces errors as VS Code notifications:

Requirements

  • VS Code 1.90.0 or later
  • A running Allternit API instance (local or remote)
  • An Allternit API key for authenticated endpoints