Proofread and translate text in VS CodeThis extension offers Proofread text and Translate text commands in VS Code. It's a simple alternative to DeepL, Grammarly, and other similar tools. Notable features:
⚠️ By default, this extension uses the Copilot API. It's free with a limit of 50 requests per month, or unlimited for paid Copilot subscribers. Unfortunately, Copilot only supports proofreading, not translation. To use the extension for translation, switch to Ollama or OpenAI (see details below). InstallationOpen the VS Code marketplace ( CommandsRun these commands from the VS Code command palette ( Proofread: Proofread Text Proofreads the selected text and prints the suggested changes below it. Proofread: Translate Text Translates the selected text and overwrites it with the translation. Only available if Proofread: Set OpenAI API Key Sets the value of the OpenAI API key. Only required if Using OllamaOllama runs AI models locally on your machine. Here's how to set it up:
That's it! Gemma 2 is a lightweight model that uses about 1GB of memory and works quickly without a GPU. For good results, send only a few paragraphs at a time for proofreading or translation. For larger documents or improved results, try models like Using OpenAIOpenAI offers state-of-the-art AI models through an API. Here's how to switch to it:
That's it! ⚠️ OpenAI is a paid service; they charge for API use. Settings
Name of the AI model provider. Must be either
Custom URL of the AI API endpoint (leave empty to use the default URL).
Name of the AI model to use. Default:
Sampling temperature to use (between 0 and 2). Higher values make the output more random, while lower values make it more focused and predictable. Default:
Timeout for AI API requests in seconds. Default:
The language to proofread or translate the text into. Default:
The prompt to send to the OpenAI API for proofreading.
The prompt to send to the OpenAI API for translation. LicenseCreated by Anton Zhiyanov. Released under the MIT License. |