Skip to content

VS Code extension for AI-managed code blocks with Maccarone ⏪⏩

License

Notifications You must be signed in to change notification settings

bsilverthorn/maccarone-vscode

Repository files navigation

Maccarone VS Code Extension

See the core Maccarone documentation first! That will explain the key concepts behind this tool.

This README documents the VS Code extension only.

Usage

The extension provides a single command, Refresh AI Blocks, which updates the Maccarone code sections #<<...>> in the current file. Run it using the VS Code command palette (Ctrl+Shift+P):

screencap

Setup

Install the free extension from the VS Code marketplace.

Make sure you have Python 3.8+ installed and configured as the default interpreter in VS Code.

You'll need an OpenAI API key with GPT-4 access. Set it in your environment as OPENAI_API_KEY, or configure it in VS Code under the Maccarone extension settings.