An interactive AI-powered extension that scans your JavaScript and TypeScript files on save, detects performance bottlenecks and unoptimized patterns, and allows you to refactor your code with a single click.
🚀 Key Features
Save-Triggered Prompt & Cancellation: Prompts you on save (Ctrl+S / Cmd+S) with options to run optimization, stop/clear ongoing optimizations, or dismiss. You can also cancel scans anytime during execution or via the Command Palette (Reco: Stop Optimization).
In-Editor Suggestion Icons: Displays gutter indicators and native lightbulb hints directly beside each affected block or function.
Interactive Hover Explanations: Hover over any suggested line to view an in-depth breakdown of the issue, a code preview, and a one-click Quick Fix button.
Native Quick Fix Support: Also triggers via the VS Code Lightbulb menu or standard shortcut (Ctrl+. / Cmd+.).
Multi-Provider Support: Bring your own API key or run locally with Ollama. Supports:
Ollama (Local models like Llama 3)
OpenAI (GPT-4o)
Anthropic (Claude 3.5 Sonnet)
Google Gemini (Gemini 2.5 Flash)
📦 Installation
Open Visual Studio Code.
Press Ctrl+P (or Cmd+P on macOS) to open the Quick Open dialog.