Skip to main content

Spell checking for source code and documentation

VS Code Spell Checker

A spell checker for Visual Studio Code, designed for source code. It splits identifiers such as camelCase into words, and disregards symbols, hex values, and URLs.

All checking is performed locally. Dictionaries are stored on the machine; no document content is transmitted.

Installation

code --install-extension streetsidesoftware.code-spell-checker
Install in VS CodeOpens VS Code, or install from the Marketplace
Quick Fix suggesting a correction for an unrecognized word in Visual Studio Code
Quick Fix on an unrecognized word: apply a suggestion, or add the word to a dictionary.

Documentation

Three entry points, according to what you need.

Installation

Getting started

Installation, verification, and the two commands used most frequently in daily work.

  • Install and verify operation
  • Fix a word with Ctrl .
  • Add project-specific terminology
Get Started

Behavior

What is reported

Identifiers are split into their component words. Symbols, hex values, and words of three characters or fewer are not reported.

const recieveMessage = ...
// the lenght of the queue
color: #3f8ac2; // not reported
How code is analyzed

Configuration

Configuration and directives

The complete settings reference, together with the in-document cSpell: directives.

  • Languages & dictionaries
  • Files, folders & workspaces
  • Reporting, appearance, performance
Configuration reference

Common tasks

The topics consulted most often.

Local

Dictionaries and checking are local to the machine. No document content is sent to an external service.

50+ languages

Additional language dictionaries, from Dutch and German to Ancient Greek, are available as separate extensions.

25+ file types

TypeScript, Python, Go, Rust, Markdown, LaTeX, YAML, and SQL are supported by default.

Since 2016

Developed and maintained openly by Street Side Software. Sponsorship →

In the editor

Unrecognized words are marked as the document is edited.

Unrecognized words underlined while typing in Visual Studio Code
Unrecognized words are underlined, in both code and comments.
Suggestion list opened with Quick Fix
Quick Fix presents suggestions, and can add the word to a selected dictionary.

Installation and documentation

The extension operates with the default configuration; no setup is required to begin.