This is the VS Code extension for my modding language called grug, which I described in detail in my blog post.
The full name of this extension is grug.
If grug doesn't show up in your VS Code's Extensions tab, then your VS Code might not be using Microsoft's marketplace. On Arch Linux you can work around this by installing code-marketplace from the AUR.
This repository depends on xijnim's grug-ls repository.
- Run
npm install - Run
npm run compile - Press F5 in VS Code to run the extension.
You'll need vsce, which can be downloaded with sudo npm install -g @vscode/vsce.
To publish an update:
- Increment the
versionkey at the top ofpackage.json. - Run
npm i --package-lock-only. - Commit all changes.
- Run
sudo vsce publish.
To update the grug Open VSX extension for VSCodium, run sudo vsce package to generate the grug-1.2.3.vsix file. I suspect that the Publish Extension button also needs to be used in order to update the existing package.
The package.json file contains a "textMateRules" key, which specifies the colors.
The hex values have been gotten by using inspect element on the colored code blocks in my blog post about grug, and then looking at the color values in their CSS classes.