A new LanguageTool integration for Visual Studio Code.
Find a file
2025-10-15 17:07:47 +02:00
images adds extension icon 2025-10-11 14:25:49 +02:00
src adds feature to ignore multiple whitespaces at start of line 2025-10-15 17:07:47 +02:00
.gitignore adds license and repository link 2025-10-11 14:12:43 +02:00
.vscodeignore adds ignore of test_folder 2025-10-13 22:36:39 +02:00
LICENSE.txt adds license and repository link 2025-10-11 14:12:43 +02:00
package.json bump version to 0.0.6 2025-10-14 10:35:26 +02:00
README.md update version control section in README to include mirror repository link 2025-10-13 22:40:07 +02:00
tsconfig.json first working version with options to apply suggestions and to ignore latex commands 2025-10-10 16:41:23 +02:00
webpack.config.js updates build scripts to use webpack and add webpack configuration 2025-10-14 10:35:14 +02:00

LanguageTool Tex (LaToTex) Extension for Visual Studio Code

This extension sends LaTeX file contents to the LanguageTool API and displays grammar/style diagnostics in the code editor. It works both with the free API and the premium subscription.

⚠️ Disclaimer:
This extension is a work in progress. Features and behavior may change, and bugs are possible. Use with caution.

Usage

Settings:

  • latotex.endpoint — LanguageTool API endpoint (default: https://api.languagetool.org/v2)
  • latotex.username — LanguageTool username (leave empty for free API)
  • latotex.apiKey — LanguageTool API key (leave empty for free API)
  • latotex.language — language code (default: en-US)
  • latotex.onSave — run check on save (default: false)
  • latotex.debug — enable debug mode... currently not implemented (default: false)
  • latotex.ignore_all_latex_commands — ignore all LaTeX commands, like \textbf{} (default: true)

Commands:

  • LaToTex: Check with LanguageTool — run check on the active LaTeX file

Packaging

To package the extension, use the vsce tool. First, install it if you haven't already:

npm install -g vsce

Then, run the following command in the extension's root directory:

vsce package

Version Control

Main: https://git.cubenote.de/l-schulte/LaToTex.git
Mirror: https://codeberg.org/l-schulte/LaToTex.git