Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Prompt Canvas UINew to Visual Studio Code? Get it now.
Prompt Canvas UI

Prompt Canvas UI

Vamsi

| (0) | Free
Visual prompt engineering with drag-and-drop cards and parameter controls
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Prompt Canvas UI

A Visual Studio Code extension that provides a visual interface for prompt engineering with drag-and-drop cards and interactive parameter controls.

Prompt Canvas UI Interface

Features

  • Visual Prompt Flow: Represent prompts as cards in a visual flow (system → user → assistant)
  • Drag & Drop Interface: Easily rearrange prompt blocks by dragging and dropping
  • Parameter Controls: Adjust temperature and max tokens with intuitive sliders
  • Instant Preview: See outputs immediately as you build your prompt pipeline
  • Save & Load: Save your prompt canvases for reuse

Usage

  1. Open the Extension:

    • Open the Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux)
    • Run "Open Prompt Canvas" command
    • Or click the Prompt Canvas icon in the Activity Bar
  2. Build Your Prompt Flow:

    • Click + System to add system instructions (green card)
    • Click + User to add user prompts (blue card)
    • Click + Assistant to add assistant responses (red card)
  3. Customize Parameters:

    • Adjust Temperature slider (0-2) to control response randomness
    • Set Max Tokens slider (1-4000) to limit response length
  4. Edit and Execute:

    • Click in any text area to edit prompt content
    • Drag cards to reorder your prompt sequence
    • Click ▶ Execute to run your prompt flow
    • Use 💾 Save to preserve your canvas or 🗑 Clear to start over

Interface Overview

Installation

  1. Clone this repository
  2. Run npm install to install dependencies
  3. Run npm run compile to build the extension
  4. Press F5 to launch a new VS Code window with the extension loaded

Development

  • npm run compile: Compile TypeScript to JavaScript
  • npm run watch: Watch for changes and recompile automatically

Architecture

The extension consists of:

  • extension.ts: Main extension entry point
  • promptCanvasProvider.ts: Webview provider for the canvas interface
  • HTML/CSS/JS: Interactive canvas UI with drag-and-drop functionality

Future Enhancements

  • Integration with OpenAI API
  • Template library
  • Export to various formats
  • Collaborative editing
  • Advanced parameter controls
  • Prompt versioning
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft