Package Control

The official Sublime Text package manager.

GrADS

GrADS syntax for Sublime Text

By fox91
Created June 11, 2026, last updated June 12, 2026.

JunMayAprMarFebJan Dec2025 NovOctSepAugJul 2026-W28 | installs: 4 | removals: 1 | upgrades: 0 2026-W28 | installs: 4 | removals: 1 | upgrades: 0 2026-W28 | installs: 4 | removals: 1 | upgrades: 0 2026-W27 | installs: 0 | removals: 0 | upgrades: 1 2026-W27 | installs: 0 | removals: 0 | upgrades: 1 2026-W27 | installs: 0 | removals: 0 | upgrades: 1 2026-W26 | installs: 1 | removals: 0 | upgrades: 0 2026-W26 | installs: 1 | removals: 0 | upgrades: 0 2026-W26 | installs: 1 | removals: 0 | upgrades: 0 2026-W25 | installs: 0 | removals: 0 | upgrades: 0 2026-W25 | installs: 0 | removals: 0 | upgrades: 0 2026-W25 | installs: 0 | removals: 0 | upgrades: 0 2026-W24 | installs: 2 | removals: 0 | upgrades: 2 2026-W24 | installs: 2 | removals: 0 | upgrades: 2 2026-W24 | installs: 2 | removals: 0 | upgrades: 2 024 WeeklyInstalls 024 WeeklyUpgrades 2026-W24 | upgrades: 2 1.2.0 / 1.1.0 / ... 1.2.0 / 1.1.0 / 1.0.1 / 1.0.0
Installations: recent average 1 per week, 7 in total
Installations minus removals
Upgrades

Links

Versions

1.2.0 (>ST4074) ·
2026-06-12 10:07

More

GrADS syntax for Sublime Text

Syntax highlighting and comment toggling for the GrADS scripting language (.gs / .gsf).

Unlike a docs-driven grammar, the rules here are derived directly from the GrADS C sources (gscrpt.c, gauser.c, gafunc.c, gaexpr.c, gxchpl.c), which are the ground truth for what the interpreter actually accepts — the HTML documentation is incomplete or inaccurate in several places.

Features

Installation

  1. Install Package Control.
  2. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and run Package Control: Install Package.
  3. Search for GrADS and install it.

Manual

Clone or download this repository into your Sublime Text packages folder (Preferences → Browse Packages…), as a folder named GrADS:

git clone https://github.com/fox91/GrADS-Sublime-syntax.git GrADS

Then open a .gs / .gsf file (or pick View → Syntax → GrADS Script) to activate it.

Developing

The grammar lives in GrADS.sublime-syntax; scope assignments are covered by syntax tests in tests/syntax_test_grads.gs.

To run the tests, place the repository in your Sublime Text packages folder as a folder named GrADS (so the test header's Packages/GrADS/… path resolves), open tests/syntax_test_grads.gs, and run Tools → Build (Ctrl+B / Cmd+B). Results appear in the output panel; press F4 to jump to a failure.

The same tests run on every push and pull request via GitHub Actions (.github/workflows/syntax.yml, using syntax-test-action).

License

MIT © Andrea Falco

Results

Packages