5

I use the extension Latex Workshop, however my preview does not auto update on save. I have to run pdflatex each time.

I tried uninstalling and installing the extension, deleting the extensions file, and even reinstalled vs code. Yet, the same thing persists.

Is there a specific setting, etc that needs to be changed?

Gama11
  • 31,714
  • 9
  • 78
  • 100
Mahathi Vempati
  • 1,238
  • 1
  • 12
  • 33

3 Answers3

15

Strangely for me it only seems to work when configuring

latex-workshop.latex.autoBuild.run: "onSave"
alexanderdavide
  • 1,487
  • 3
  • 14
  • 22
5

As from here the setting for this is:

latex-workshop.latex.autoBuild.run

With value "onFileChange".

Note that this is the default value for this setting, so it should detect the changes automatically, but give it a try.

Diogo Rocha
  • 9,759
  • 4
  • 48
  • 52
0

Local and ssh installation:

For me the problem was that I had Latex Workshop installed on SSH but not locally. After installing locally, the LaTEX icon showed up and also auto-compile on save worked right away.

Chr Ninja
  • 127
  • 1
  • 4