-
Notifications
You must be signed in to change notification settings - Fork 584
FAQ
- Known incompatible extensions
- The Problem Pane displays wrong messages
- I cannot use
ctrl+altin a shortcut - Disable automatic build on save
- My file is built when I paste
The following extensions are known to cause issues when active at the same time as LaTeX-Workshop, namely a significant delay when using the Enter key in large files.
LaTeX compilers usually produce hard wrapped log messages, which makes them really hard to parse. To hopefully deal with complex log messages, we have decided to rely on non hard wrapped log messages. This can be achieved either
- by setting the environment variable
max_print_line. This is automatically done within the extension and works for the TeXLive distribution. - by adding the
--max-print-lineoption to the compilers. This is automatically done within the extension and works for the MiKTeX distribution. Unfortunately, some compilers such aslualatexorxelatexdo not understand this option and may therefore fail. To disable the automatic addition of this option, setlatex-workshop.latex.option.maxPrintLine.enabledtofalse.
Note that when log messages are hard wrapped, the Problems Pane may be messed up.
The default shortcuts for commands related to build and view use the modifiers ctrl+alt. On some keyboard layouts, ctrl+alt is used to emulate AltrGr, which makes these shortcuts unusable. Alternatively, you can use ctrl+l, alt+letter instead of ctrl+alt+letter by setting latex-workshop.bind.altKeymap.enabled to true (you need reload/reopen vscode for the change to be taken into account).
Set the configuration variable latex-workshop.latex.autoBuild.onSave.enabled to false.
Set editor.formatOnPaste to false.
The formatter programm latexindent changes the file on disk when formatting and not only the buffer content. VSCode interprets it as a file save and triggers a build if latex-workshop.latex.autoBuild.onSave.enabled to true