This extension offers Proofread, Translate and Check Grammar commands in VS Code. It's a simple alternative to DeepL, Grammarly, and other similar tools.
Notable features:
- Uses Copilot, Ollama, or OpenAI for proofreading.
- Configurable language model and prompts (with good defaults).
- Supports many target languages (default is English).
Open the VS Code marketplace (Ctrl+Shift+X / Cmd+Shift+X), search for the extension by typing "proofread" or "nalgeon.proofread", and click Install. You're all set!
Run these commands from the VS Code command palette (Ctrl+Shift+P / Cmd+Shift+P).
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.
Proofread: Check Grammar
Checks the selected text for grammar mistakes, corrects them, and prints the revised version below.
Proofread: Set OpenAI API Key
Sets the value of the OpenAI API key. Only required if proofread.ai.vendor set to openai.
Ollama runs AI models locally on your machine. Here's how to set it up:
- Download and install Ollama for your operating system.
- Set the environment variables to use less memory:
OLLAMA_KEEP_ALIVE = 1h
OLLAMA_FLASH_ATTENTION = 1
- Restart Ollama.
- Download a lightweight AI model like
gemma3:4borqwen3:4b:
ollama pull gemma3:4b
- Change the Proofread settings:
proofread.ai.vendor = ollama
proofread.ai.model = gemma3:4b
That's it!
OpenAI offers state-of-the-art AI models through an API. Here's how to switch to it:
- Get an API key from the OpenAI Settings.
- When you have the key, set it using the Proofread: Set OpenAI API Key command.
- Change the Proofread setting
proofread.ai.vendortoopenai.
That's it!
proofread.ai.vendor
Name of the AI model provider. Must be either copilot, ollama, or openai. Default: copilot
proofread.ai.url
Custom URL of the AI API endpoint (leave empty to use the default URL).
proofread.ai.model
Name of the AI model to use. Default: gpt-5-mini
proofread.ai.temperature
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: 1
proofread.ai.timeout
Timeout for AI API requests in seconds. Default: 30
proofread.language
The language to proofread or translate the text into. Default: English (US)
proofread.prompt.proofread
The prompt to send to the AI for proofreading.
proofread.prompt.translate
The prompt to send to the AI for translation.
proofread.prompt.grammar
The prompt to send to the AI for grammar checking.
Created by Anton Zhiyanov. Released under the MIT License.