Topic 1
Setting file
Snippets are useful when they remove repetition without hiding the structure of the document.
Finding the setting file
Start from the Command Palette and open the user snippet flow instead of creating random JSON files by hand.
Then search for the LaTeX snippet target so the snippet file is attached to the language you actually use for manuscript work.
If a LaTeX snippet file already exists, open that existing file instead of scattering duplicate snippet files across the system.
Example snippet
You can use the latex.json file from the default document pack. The path where it lives depends on your operating system:
- Windows:
%APPDATA%\Code\User\snippets - macOS:
$HOME/Library/Application Support/Code/User/snippets - Linux:
$HOME/.config/Code/User/snippets
Inside that folder, confirm that the LaTeX snippet file exists and is the file you plan to keep editing.
Once the file is open, keep the snippet set short and readable so future edits stay easy.
Confirm that your snippets speed up common LaTeX patterns and that you still understand the structure they expand into.