valentjn / vscode-ltex

LTeX: Grammar/spell checker :mag::heavy_check_mark: for VS Code using LanguageTool with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
816 stars 29 forks source link
coc grammar-checker languagetool latex ltex markdown neovim spell-checker vim vscode

LTEX Extension for VS Code: Grammar/Spell Checker Using LanguageTool with Support for LATEX, Markdown, and Others

latest releaseversion numberrelease date  installs  rating

vscode-ltex  CI status  stars  open issues closed issues\ ltex-ls  CI status  coverage  stars  open issues closed issues

LTEX provides offline grammar checking of various markup languages in Visual Studio Code using LanguageTool (LT). LTEX currently supports BibTEX, ConTEXt, LATEX, Markdown, Org, reStructuredText, R Sweave, and XHTML documents. In addition, LTEX can check comments in many popular programming languages (optional, opt-in).

The difference to regular spell checkers is that LTEX not only detects spelling errors, but also many grammar and stylistic errors such as:

A classic use case of LTEX is checking scientific LATEX papers, but why not check your next blog post, book chapter, or long e-mail before you send it to someone else?

Find more information and documentation about LTEX on the official website.

LTEX is a successor (since it's a fork) of the abandoned LanguageTool for Visual Studio Code extension by Adam Voss.

Features

Grammar/Spell Checker for VS Code with LanguageTool and LaTeX Support

Requirements

How to Use

  1. Install the requirements listed above
  2. Install this extension (see download options)
  3. Reload the VS Code window if necessary
  4. Open a LATEX or a Markdown document, or open a new file and change the language mode to LaTeX or Markdown (open the Command Palette and select Change Language Mode)
  5. Wait until ltex-ls has been found; if necessary, LTEX downloads it for you. Alternatively, you can choose offline installation.
  6. Grammar/spelling errors will be displayed! (if there are any)

Information & Documentation