Highlight messy text. Get a perfectly engineered AI prompt. Instantly.
PromptTune is a VS Code extension that lets you select any poorly written text, comment, or rough idea in your editor and instantly rewrite it into a precise, structured AI prompt — powered by Google Gemini 1.5 Flash.
✨ Features
One-Command Optimization — Highlight text → run PromptTune: Optimize Selected Text → get a production-quality prompt.
In-Editor Replacement — The optimized prompt replaces your selected text directly, no copy-pasting needed.
Progress Notifications — A native VS Code progress indicator keeps you informed while the API works.
Secure API Key Storage — Your Gemini API key is stored in VS Code's settings, never hardcoded.
Graceful Error Handling — Clear messages for missing API keys, network failures, and empty selections.
🚀 Getting Started
1. Install the Extension
Open VS Code, go to the Extensions panel, and search for PromptTune — or install from the .vsix file: