After Grammarly disabled its API, no equivalent grammar-checking tool exists for VSCode. While LTeX catches spelling mistakes and some grammatical errors, it lacks the deeper linguistic understanding that Grammarly provides.
This extension bridges the gap by leveraging large language models (LLMs). It chunks text into paragraphs, asks an LLM to proofread each paragraph, and highlights potential errors. Users can then click on highlighted errors to view and apply suggested corrections.
Features
LLM-powered grammar checking in American English
Inline corrections via quick fixes
Choice of models: Use a local llama3.2:3b model via Ollama or gpt-40-mini through the VSCode LM API
Rewrite suggestions to improve clarity
Synonym recommendations for better word choices
Commands
When the first command is executed, a dialog appears allowing users to select either a local Ollama model or the GitHub Copilot model.
Local Model: Requires installing and running a local Ollama server.
"LLM Writing Tool: Start Text Check for Current Document"
Continuously checks the text in the current document. Prompts the user to select an LLM model.
"LLM Writing Tool: Stop Text Check for Current Document"
Stops real-time grammar checking.
"LLM writing tool: Rewrite current selection"
Rewrites the selected text for clarity.
"LLM writing tool: Get synonyms for selection"
Suggests synonyms for the selected expression.
"LLM writing tool: Select model"
Selects the LLM model to use for grammar checking. Stops real-time grammar checking if it is running.