Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>grugNew to Visual Studio Code? Get it now.
grug

grug

MyNameIsTrez

|
34 installs
| (0) | Free
The perfect modding language.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

grug vscode

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.

Developing

  1. Run npm install
  2. Run npm run compile
  3. Press F5 in VS Code to run the extension.

Publishing updates

You'll need vsce, which can be downloaded with sudo npm install -g @vscode/vsce.

To publish an update:

  1. Increment the version key at the top of package.json.
  2. Run npm i --package-lock-only.
  3. Commit all changes.
  4. Run sudo vsce publish.

Coloring

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft