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:
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†.
LaTeX
or Markdown
(open the Command Palette and select Change Language Mode
)ltex.enabled
ltex.language
ltex.dictionary
ltex.disabledRules
ltex.enabledRules
ltex.hiddenFalsePositives
ltex.bibtex.fields
ltex.latex.commands
ltex.latex.environments
ltex.markdown.nodes
ltex.configurationTarget
ltex.additionalRules.enablePickyRules
ltex.additionalRules.motherTongue
ltex.additionalRules.languageModel
ltex.additionalRules.neuralNetworkModel
ltex.additionalRules.word2VecModel
ltex.languageToolHttpServerUri
ltex.languageToolOrg.username
ltex.languageToolOrg.apiKey
ltex.ltex-ls.path
ltex.ltex-ls.logLevel
ltex.java.path
ltex.java.initialHeapSize
ltex.java.maximumHeapSize
ltex.sentenceCacheSize
ltex.completionEnabled
ltex.diagnosticSeverity
ltex.checkFrequency
ltex.clearDiagnosticsWhenClosingFile
ltex.statusBarItem
ltex.trace.server
\text{...}
in math mode from producing false positives?LTeX: Activate Extension
LTeX: Check Selection
LTeX: Check Current Document
LTeX: Check All Documents in Workspace
LTeX: Clear Diagnostics in Current Document
LTeX: Clear All Diagnostics
LTeX: Show Status Information
LTeX: Reset and Restart
LTeX: Report Bug in LTeX
LTeX: Request Feature for LTeX