Change language of this page: English, German

To run a command, open the Command Palette (Ctrl+Shift+P) and start typing the name of the command.

LTeX: Activate Extension

Activates the extension; does nothing if the extension is already activated.

The extension is automatically activated when files with supported code language modes (= default value of ltex.enabled) are opened in the editor. Use this command if you want to use LTEX on files with unsupported code language modes.

LTeX: Check Selection

Triggers a check of the primary selection of the active document, and clears all LTEX diagnostics of the active document outside the primary selection.

The active document is the one whose editor currently has focus, or, if none has focus, the one which was changed most recently.

It is usually not necessary to run this command as LTEX automatically checks supported documents when being opened or changed.

LTeX: Check Current Document

Triggers a check of the active document.

The active document is the one whose editor currently has focus, or, if none has focus, the one which was changed most recently.

It is usually not necessary to run this command as LTEX automatically checks supported documents when being opened or changed.

LTeX: Check All Documents in Workspace

Triggers a check of all Markdown and LATEX documents in the workspace.

This does a search for files with typical file extensions of supported file types in all folders of the workspace, depending on for which file types LTEX has been enabled (see ltex.enabled). Untitled and unsaved documents are not checked. The types of the documents are recognized by their file extensions. To skip checking some files or folders, add them to files.exclude.

The documents must be in UTF-8 encoding. This does not work if no folders are opened in the workspace.

LTeX: Clear Diagnostics in Current Document

Clears all LTEX diagnostics in the active document.

The active document is the one whose editor currently has focus, or, if none has focus, the one which was changed most recently.

LTeX: Clear All Diagnostics

Clears all LTEX diagnostics.

LTeX: Show Status Information

Shows information about the current status of LTEX in the LTeX Language Client output panel.

Information about ltex-ls is only included if ltex-ls is running and not checking a document.

LTeX: Reset and Restart

Resets the current state of the extension and restarts LTEX LS.

This is equivalent to reloading the VS Code window and activating the extension. Use this command if LTEX does not behave as expected.

LTeX: Report Bug in LTeX

Shows a message box with a link to instructions on how to report bugs in LTEX and a button to copy a bug report.

When clicking the button, LTEX will copy a pre-filled bug report to the clipboard, which can then be pasted into the GitHub issue.

LTeX: Request Feature for LTeX

Creates a new feature request for LTEX by opening the GitHub website.