A VSCode extension that polishes selected text using LLM.
- Polish Selection: Select text and polish it with AI
- Context-Aware: Uses file context to apply appropriate improvements
- Real-time Streaming: See improvements appear in real-time as they're generated
Coming soon
-
Build the extension package:
npm install npm run package
-
Install the generated
.vsixfile:code --install-extension polish-it-0.1.0.vsix
Or in VSCode:
- Open Command Palette (
Cmd+Shift+P) - Run "Extensions: Install from VSIX..."
- Select the
.vsixfile
- Open Command Palette (
Open VSCode Settings and search for "Polish It":
| Setting | Description | Default |
|---|---|---|
polishIt.openai.apiKey |
Your OpenAI API key | "" |
polishIt.openai.model |
Model to use (e.g., gpt-4o-mini, gpt-4o) |
"gpt-4o-mini" |
polishIt.openai.baseUrl |
API base URL (for custom endpoints) | "https://api.openai.com/v1" |
- Select text
- Open Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) - Run "Polish"
- Mac:
Cmd+Shift+I - Windows/Linux:
Ctrl+Shift+I
- Select text
- Right-click
- Click "Polish"
MIT