LTEX provides offline grammar checking of various markup languages in Visual Studio Code using LanguageTool (LT). LTEX currently supports LATEX and Markdown documents.
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 in VS Code, but why not check your next blog post, book chapter, or long e-mail before you send it to someone else?
LTEX is a successor (since it's a fork) of the abandoned LanguageTool for Visual Studio Code extension by Adam Voss†.
- Checks LATEX and Markdown documents
- Comes with everything included, no need to install Java or LanguageTool
- Supports over 20 languages
- 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
- 64-bit operating system
- VS Code 1.39 or newer
- Optional:
- If you want to check LATEX documents: LaTeX Workshop Extension for VS Code
- Install the requirements listed above
- Install this extension
- Reload the VS Code window if necessary
- Open a LATEX or a Markdown document, or open a new file and change the language mode to
LaTeX
orMarkdown
(open the Command Palette and selectChange Language Mode
) - Wait until ltex-ls and Java have been found; if necessary, LTEX downloads both for you. Alternatively, you can choose offline installation.
- Grammar/spelling errors will be displayed! (if there are any)
- General Information
- Documentation
- Installation and Usage
- Advanced Usage
- Settings
ltex.enabled
ltex.language
ltex.dictionary
ltex.disabledRules
ltex.enabledRules
ltex.hiddenFalsePositives
ltex.latex.commands
ltex.latex.environments
ltex.markdown.nodes
ltex.configurationTarget
ltex.additionalRules.motherTongue
ltex.additionalRules.languageModel
ltex.additionalRules.neuralNetworkModel
ltex.additionalRules.word2VecModel
ltex.ltex-ls.path
ltex.ltex-ls.languageToolHttpServerUri
ltex.ltex-ls.logLevel
ltex.java.path
ltex.java.forceTrySystemWide
ltex.java.initialHeapSize
ltex.java.maximumHeapSize
ltex.sentenceCacheSize
ltex.diagnosticSeverity
ltex.checkFrequency
ltex.clearDiagnosticsWhenClosingFile
ltex.statusBarItem
ltex.trace.server
- Commands
- FAQ
- What's the difference between vscode-ltex, ltex-ls, and LanguageTool?
- What happened to the Language Support Extensions?
- How can I prevent LTEX from redownloading ltex-ls and Java after every update?
- Why does LTEX have such a high CPU load?
- How can I check multiple languages at once?
- How can I fix multiple spelling errors at the same time?
- How can I prevent
\text{...}
in math mode from producing false positives? - What does LTEX stand for?
- Where can I ask a question that's not answered here?
- Changelog
- Deprecation of Java 8
- Contributing Code/Issues
- Code of Conduct
- Acknowledgments