Configuration
Fire up VSCode and create a new .tex document. Adapt the document template below, pick "SyncTeX from Cursor" in the command palette1 to see live-previews! 🤩
You can now configure your environment as much as you'd like based on this excellent article.
Formatting
Makes your TeX files more readable (especially tables and lists!). On macOS, install LaTeX Indent via brew install latexindent2.
Then go to your VSCode settings.json and add this:
{
"latex-workshop.bibtex-format.sort.enabled": true,
"latex-workshop.bibtex-format.trailingComma": true,
"latex-workshop.formatting.latex": "latexindent",
"latex-workshop.latex.autoClean.run": "onSucceeded",
"latex-workshop.latex.clean.method": "command"
}