This guide will walk you through how to install snippets in VSCode and how to merge different snippets using a Python script.
- Windows/Linux: Press
Ctrl + Shift + P
- Mac: Press
Cmd + Shift + P
- In the Command Palette, type
Snippets
and selectConfigure User Snippets
from the dropdown menu.
- From the list of available languages and options, choose
LUA
or if you're adding a different language. Select that language.
- Copy and paste your desired snippets into the opened editor.
- Save the changes. No need to restart VSCode.
- Depending on your OS, use
cmd
,bash
, orpowershell
.
git clone https://github.com/Coldensjo/tfs_vscode_snippets.git
- Copy your LUA or other snippets file into the cloned folder.
- Rename your snippets files to
lua.json
andlua2.json
, you can change this in the script if you want.
python merge.py
- Made improvements? Consider creating a pull request!