Home

Awesome

<!-- - Copyright (C) 2019-2021 Julian Valentin, LTeX Development Community - - This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at https://mozilla.org/MPL/2.0/. --> <!-- #if TARGET == 'vscode' -->

LT<sub>E</sub>X Extension for VS Code: Grammar/Spell Checker Using LanguageTool with Support for L<sup>A</sup>T<sub>E</sub>X, Markdown, and Others

<!-- #elseif TARGET == 'coc.nvim' --> <!-- # LT<sub>E</sub>X Extension for coc.nvim: Grammar/Spell Checker Using LanguageTool with Support for L<sup>A</sup>T<sub>E</sub>X, Markdown, and Others --> <!-- #endif -->

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

<!-- #if TARGET == 'vscode' -->

LT<sub>E</sub>X provides offline grammar checking of various markup languages in Visual Studio Code using LanguageTool (LT). LT<sub>E</sub>X currently supports BibT<sub>E</sub>X, ConT<sub>E</sub>Xt, L<sup>A</sup>T<sub>E</sub>X, Markdown, Org, reStructuredText, R Sweave, and XHTML documents. In addition, LT<sub>E</sub>X can check comments in many popular programming languages (optional, opt-in).

<!-- #elseif TARGET == 'coc.nvim' --> <!-- **LT<sub>E</sub>X** provides offline grammar checking of various markup languages in Vim/Neovim using [LanguageTool (LT)](https://languagetool.org/) and [coc.nvim](https://github.com/neoclide/coc.nvim). LT<sub>E</sub>X currently supports BibT<sub>E</sub>X, ConT<sub>E</sub>Xt, L<sup>A</sup>T<sub>E</sub>X, Markdown, Org, reStructuredText, R Sweave, and XHTML documents. In addition, LT<sub>E</sub>X can check comments in many popular programming languages (optional, opt-in). --> <!-- #endif -->

The difference to regular spell checkers is that LT<sub>E</sub>X not only detects spelling errors, but also many grammar and stylistic errors such as:

A classic use case of LT<sub>E</sub>X is checking scientific L<sup>A</sup>T<sub>E</sub>X 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 LT<sub>E</sub>X on the official website.

LT<sub>E</sub>X is a successor (since it's a fork) of the abandoned LanguageTool for Visual Studio Code extension by Adam Voss<sup></sup>.

Features

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

Requirements

<!-- #if TARGET == 'vscode' --> <!-- #elseif TARGET == 'coc.nvim' --> <!-- - 64-bit Linux, Mac, or Windows operating system --> <!-- - [Node.js 14.16.0 or later](https://nodejs.org/) --> <!-- - [Vim](https://www.vim.org/) or [Neovim](https://neovim.io/) with [coc.nvim 0.0.80 or newer](https://github.com/neoclide/coc.nvim) --> <!-- #endif -->

How to Use

<!-- #if TARGET == 'vscode' -->
  1. Install the requirements listed above
  2. Install this extension (see download options)
  3. Reload the VS Code window if necessary
  4. Open a L<sup>A</sup>T<sub>E</sub>X 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, LT<sub>E</sub>X downloads it for you. Alternatively, you can choose offline installation.
  6. Grammar/spelling errors will be displayed! (if there are any)
<!-- #elseif TARGET == 'coc.nvim' --> <!-- 1. Install the requirements listed above --> <!-- 2. Install coc-ltex by running `:CocInstall coc-ltex` --> <!-- 3. If you want to check LaTeX documents: Add `let g:coc_filetype_map = {'tex': 'latex'}` to `~/.vimrc` (Vim) or `~/.config/nvim/init.vim` (workaround for [#425](https://github.com/valentjn/vscode-ltex/issues/425), until [neoclide/coc.nvim#3433](https://github.com/neoclide/coc.nvim/pull/3433) is released) --> <!-- 4. Open a LaTeX or a Markdown document --> <!-- 5. Wait until [ltex-ls](https://valentjn.github.io/ltex/faq.html#whats-the-difference-between-vscode-ltex-ltex-ls-and-languagetool) has been downloaded and started --> <!-- 6. Grammar/spelling errors will be displayed! (if there are any) --> <!-- #endif -->

Information & Documentation