1. VSCode User Settings vs Workspace Settings
See the difference between User Settings and Workspace Settings in:https://code.visualstudio.com/docs/getstarted/settings
See the difference between User Settings and Workspace Settings in:https://code.visualstudio.com/docs/getstarted/settings
在VSCode中,打开设置,搜索”latex-workshop.latex.recipes”,将 “args” 部分的内容修改为如下:
1 | "name": "latexmk", |
在VSCode中,打开设置,搜索”latex-workshop.latex.autoBuild.run”,将其设置为”onSave”,这样每次保存tex文件时就会自动编译。
在VSCode中,打开设置,搜索”latex-workshop.latex.recipe.default”,将其设置为”lastUsed”,这样第一次编译tex文件手动选择选择编译器,后面就会默认使用该选择了。