This is the Visual Studio Code extension for the Source Academy game txt
Step 1: Clone the extension repo
git clone https://github.com/source-academy/sa-game-syntax-highlighter.git
Step 2: Copy the extension folder to the extension directory.
%USERPROFILE%\.vscode\extensions
$HOME/.vscode/extensions
Step 3: While using the .txt, change language to Sa (bottom right corner in VS Code)
Here is a guide on how to edit text mate json files
https://macromates.com/manual/en/language_grammars#naming-conventions