Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VScode: Stop autocompilation Latex toolchain

I am trying to setup subfile for my Latex notes but I installed Latex Workshop on my VSCode which autocompiles on save, I would like to stop autocompile for the sections.

File Hierarchy:

main.tex
sections/
Introduction.tex
Part1.tex

I would like to stop autocompilation for the tex files in the sections folder.

like image 231
Swapnil Raj Avatar asked Sep 26 '17 13:09

Swapnil Raj


People also ask

How do I turn off autocomplete in VSCode?

By default, VS Code shows snippets and completion proposals in one widget. You can control the behavior with the editor.snippetSuggestions setting. To remove snippets from the suggestions widget, set the value to "none" .

How do I compile a Tex file in VSCode?

Write & Compile Now you may open a tex file or create a new one. If you want to compile the file, press Ctrl + Alt + B (Windows) or option + Cmd + B (macOS). Moreover, you may choose another recipes from the sidebar. There is a button in the right top corner to preview PDF file.

How do I enable autocomplete in VSCode?

PS: Pressing "Enter" works fine and accepts the suggestion and I can disable it by setting the following setting to off. Don't know if this helps, but you can press CTRL+SPACE to bring up autocomplete.

Why is IntelliSense not working in VSCode?

If the IntelliSense is installed and still not working then most of the time restarting/reloading the program will solve the issue. So give it a try. Step 1: To restart VS Code open VS Code and press Ctrl + Shift + P keys together to open the command palette and type Reload Window in the search.


2 Answers

It seems that "latex-workshop.latex.autoBuild.onSave.enabled" is obsolete/invalid now.

I am using "latex-workshop.latex.autoBuild.run": "never" with LaTeX Workshop 6.4.0.

like image 148
Alpha Huang Avatar answered Sep 22 '22 15:09

Alpha Huang


In User settings (Ctrl+,) change

"latex-workshop.latex.autoBuild.onSave.enabled": true,

to

"latex-workshop.latex.autoBuild.onSave.enabled": false,

James-Yu, author of the extension, implemented this feature 2017-11-12 (Commit on GitHub)

like image 43
andselisk Avatar answered Sep 24 '22 15:09

andselisk