Skip to content

tekumara/typos-lsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

24129bf · Mar 6, 2025
Dec 20, 2024
Dec 20, 2024
Apr 19, 2024
Mar 6, 2025
Jan 13, 2025
Oct 24, 2023
Apr 8, 2024
Aug 3, 2024
Apr 16, 2023
Apr 30, 2023
Mar 6, 2025
Dec 24, 2023
Dec 10, 2023
Mar 6, 2025
Jun 7, 2024
Mar 6, 2025
Apr 15, 2023
Apr 9, 2023
Mar 6, 2025
Mar 6, 2025
Mar 6, 2025
Dec 20, 2024
Oct 2, 2024

Repository files navigation

typos-lsp

ci release downloads

Source code spell checker for Visual Studio Code and LSP clients

typos is a low false-positive source code spell checker. This project exposes typos via a Language Server Protocol (LSP) server and Visual Studio Code extension to provide a fast, low memory, in-editor spell checker.

Install

For configuration see:

Features

  • Identify misspellings and provide a Quick Fix with suggested corrections:

    Diagnostics example with Quick Fix

Usage

Once installed typos will automatically execute when you open or edit any file.

Config file support

Supports config fields in typos.toml, _typos.toml, or .typos.toml, except:

  • files.ignore* - have no effect.
  • default.check-filename - file names are never spell checked.
  • default.check-file - files are always checked.
  • *.binary - binary files are always checked.

Config files will be read from the workspace folder or its parents. If there is no workspace folder, then no config file will be read and the typos defaults will be used.

Caveats

  • File names are not spell checked.
  • Server must be restarted after changing the config files (ie: typos.toml).

Why aren't my misspellings being corrected?

To minimise false-positives typos only suggests corrections for known misspellings, rather than unknown words like a traditional spell-checker. For more info see Why was ... not corrected?.

Contributing

See CONTRIBUTING.md to get started.