I'm new to VSCode and I am setting up LaTeX. I am trying to compile a .tex document that uses minted and thus pdflatex needs the --shell-escape flag. I am trying to modify the settings.json to do this.
I have tried adding the following (found on the internet)
{
"latex-workshop.latex.tools": {
"name": "pdflatex",
"command": "pdflatex",
"args": [
"--shell-escape",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
}
}
However it comes up with an error: Incorrect type. Expected "array". This wont even let me try to build with latex workshop. Help would be much appreciated.