[Tex/LaTex] Could somebody give me a tutorial for setting up LaTex Workshop in VS Code on Windows 10

windows

Unfortunately all information I can find is merely for macOS or Linux and I haven't been able to translate the solutions to my Windows 10 system.

I'm trying to set up LaTeX in VS Code on Windows 10 but I keep getting:

latexmk: The script engine could not be found.
latexmk: Data: scriptEngine="perl.exe", scriptName="latexmk"

I installed the LaTeX Workshop extension for VS Code as well as TeX Live and C:\texlive\2018\bin\win32 is part of my PATH environment variable.

Best Answer

In order to use LaTeX Workshop in VS Code on Windows you need to download and install Perl. After downloading and installing the extension should be able to compile your document. You might also need to then install the latexmk package, but I am not sure.

I personally have Strawberry Perl installed on my PC, but Active Perl should work just as well for this.

In the link you posted titled "information" following the answer given by K. Paul should solve your problem in Windows.