Need help with vscode-ltex?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

valentjn
353 Stars 20 Forks Mozilla Public License 2.0 1.4K Commits 2 Opened issues

Description

LTeX: Grammar/spell checker :mag::heavy_check_mark: for VS Code using LanguageTool with support for LaTeX :mortar_board:, Markdown :pencil:, and others

Services available

!
?

Need anything else?

Contributors list

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, LATEX, Markdown, Org, reStructuredText, R Sweave, and XHTML documents. In addition, LTEX can check comments in many popular programming languages (optional, opt-in). <!-- #elseif TARGET == 'coc.nvim' --> <!-- LTEX provides offline grammar checking of various markup languages in Vim/Neovim using LanguageTool (LT) and coc.nvim. LTEX currently supports BibTEX, LATEX, Markdown, Org, reStructuredText, R Sweave, and XHTML documents. In addition, LTEX can check comments in many popular programming languages (optional, opt-in). --> <!-- #endif -->

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

  • This is an mistake.
  • The bananas is tasty.
  • We look forward to welcome you.
  • Are human beings any different than animals?

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

  • Supported markup languages: BibTEX, LATEX, Markdown, Org, reStructuredText, R Sweave, XHTML
  • Comment checking in many popular programming languages (optional, opt-in)
  • Comes with everything included, no need to install Java or LanguageTool
  • Offline checking: Does not upload anything to the internet
  • Supports over 20 languages: English, French, German, Dutch, Chinese, Russian, etc.
  • Issue highlighting with hover description
  • Replacement suggestions via quick fixes
  • User dictionaries
  • Multilingual support with babel commands or magic comments
  • Possibility to use external LanguageTool servers
  • Extensive documentation

Requirements

  • 64-bit operating system
  • VS Code 1.52.0 or newer
  • Optional:
    • If you want to check documents written in a markup language that VS Code does not support out-of-the-box (e.g., LATEX), install an extension that provides support for that language (e.g., LaTeX Workshop Extension for VS Code) in addition to this extension. <!-- #elseif TARGET == 'coc.nvim' --> <!-- - 64-bit operating system --> <!-- - Vim or Neovim with coc.nvim 0.0.80 or newer --> <!-- #endif -->

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 and Java have been found; if necessary, LTEX downloads both for you. Alternatively, you can choose offline installation.
  6. Grammar/spelling errors will be displayed! (if there are any)

Information & Documentation

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.