General

VS Code Grammar Checker: Code-Aware Options for Developers (2026)

2026-12-04 · 5 min · Lint Team

VS Code has no built-in grammar checker, and since 2024 it has no Grammarly either: Grammarly discontinued its Text Editor SDK in January 2024, and the popular unofficial extension built on it was archived that May. If you searched the Marketplace for Grammarly and found nothing usable, that is why.

The good news: the gap is filled. Four real options now cover grammar and style checking inside VS Code, and they differ mainly in how they treat code and where your text goes. This guide compares them honestly — including our own extension, with its current limits stated plainly.

No extension yet? The same code-aware checking runs free on the web — paste a comment, README section, or PR description and see the findings.

Try the web checker →Free, no signup for your first checks.


The options at a glance
















































ExtensionWhat it checksCode-aware?Where text goesPrice
LintGrammar, word choice, punctuation with explanations and one-click quick fixes; commit-message scenario in Git buffersYes — code spans masked before analysis, findings touching code filtered outLint web service over HTTPS; code masked server-side before the model; check endpoint does not store textFree; optional Pro for web tools
LanguageTool / LTeX+Grammar, spelling, style in 30+ languages; strong on long-form prose and LaTeX/MarkdownPartial — markup-aware (LTeX+ handles LaTeX/Markdown structure), dictionary tuning for identifiersCloud API, or fully offline with LTeX+ / self-hosted serverFree tier; Premium about $5.83/month billed yearly
HarperGrammar and spelling, English dialects; very fast, rule-basedPartial — understands Markdown/code contexts to a degree; English onlyFully local — text never leaves your machineFree, open source
ValeStyle-guide enforcement: terminology, banned words, sentence length — not general grammarYes — rules target prose scopes in markup and code commentsLocal CLI; runs in CIFree, open source
Grammarly——No VS Code extension exists; browser/desktop only, outside the editor—


Lint: built for text that lives next to code



Lint's extension does two things: Lint: Check Selection and Lint: Check Current File. Findings appear as squiggles with an explanation on hover, and where there is a concrete correction, a quick fix applies it from the light-bulb menu. In Git commit buffers it automatically switches to commit scenario (imperative mood, concise phrasing); other scenarios — PR description, code comments, documentation — are one setting away.

The design point is code-awareness: identifiers like userId, SQL keywords, file paths, CLI flags, and async/await are masked before analysis, so they are never flagged, and any finding that would touch code is filtered out. For non-native writers, the web tools add a deeper pass that names the first-language pattern behind each error.

Honest status: the extension is new. It is on the Visual Studio Marketplace as Lint — Code-Aware Grammar Check (or run ext install linttools.lint-code-aware-grammar in VS Code), and checking runs through the Lint web service (HTTPS; code masked before it reaches the model; the check endpoint processes text in memory and does not store it). If you want zero-cloud checking today, Harper or LTeX+ below are the right pick — we would rather say that plainly than oversell.

LanguageTool and LTeX+: the multilingual workhorse



LanguageTool's official VS Code extension checks grammar, spelling, and style across 30+ languages via its API. LTeX+ is the offline sibling: it bundles the LanguageTool engine locally and understands LaTeX, Markdown, and related markup, which makes it the default choice for academic and long-form writing in VS Code. Code identifiers still need dictionary tuning, but for prose-heavy repos it is hard to beat. Self-hosting the LanguageTool server is also an option for teams with data-residency requirements.

Harper: private, offline, fast



Harper is an open-source grammar checker written in Rust that runs entirely on your device — no cloud round-trips, no account. It integrates with VS Code and several other editors, handles English dialects, and is fast enough to feel instant. The trade-offs: English only, and rule-based checking will not rewrite a tangled sentence for you. If your constraint is "my text never leaves this machine", Harper is the answer.

Vale: style rules, not grammar



Vale answers a different question: not "is this English correct?" but "does this follow our style guide?" You define rules in YAML (terminology, capitalization, sentence length), and Vale enforces them in the editor and in CI. Docs teams at large engineering orgs use it exactly this way. Pair Vale with a grammar checker rather than choosing between them: Vale keeps the house style, the grammar checker keeps the English honest.

Which one should you install?



  • You write READMEs, comments, and PRs next to code, especially as a non-native speaker: Lint — code is masked by design and findings explain the pattern, not just the fix.
  • You write long-form docs or LaTeX, or need languages beyond English: LanguageTool, or LTeX+ for offline.
  • Privacy is non-negotiable and English-only is fine: Harper.
  • Your team enforces a style guide across a docs repo: Vale in CI, plus one of the above for grammar.
  • You came here looking for Grammarly: it is gone from VS Code; the browser extension still works outside the editor, but inside it, pick from this list.


Install guidance: search the Marketplace for "Harper", "LanguageTool", "LTeX+", or "Vale VSCode". Whichever you choose, enable it for Markdown and git-commit file types first — that is where most developer prose lives — and add your project's identifiers to the user dictionary once, so the first week is signal instead of noise.

For the deeper comparison of how these handle code tokens, see our VS Code grammar check extension guide and Grammarly for VS Code alternatives. And if the real question is why Grammarly struggles with developer text in the first place, start with Grammarly for Coders. For the full cross-editor picture — JetBrains, Neovim, Sublime, and the browser — see our editor integration matrix.
📌 Prices and tool count in this article may be outdated. Lint now ships 16 tools with Pro at $12/mo, or $39/year founding. See the current pricing page.
Try Lint free — no signup, code-aware
Free · no account needed · open full toolkit →
L
Lint Team
Lint Tools — AI writing for developers

Stop letting Grammarly break your code

18 AI and browser tools built for developers. Code-aware parsing.

Try free — no signup View pricing
Or upgrade to Pro for 500 checks a day · All tools · No ads

Need more than free tools?

Unlock 500 checks a day, larger text capacity, and priority support.

View pricing → Upgrade Lint — Pro $12/mo or $39/yr founding
💬