Syntax highlighting for the Topaz language — .tpz files.
This is a declarative extension: a TextMate grammar only. It colors Topaz
source — keywords, the sql/sh/path template tags, string
interpolation, Unicode (including emoji) identifiers, operators, numbers,
and types. It does not provide a language server; completion and
diagnostics come from the toolchain (topaz check).
Install
Marketplace / Open VSX — search "Topaz" in the Extensions view.
From a release — download topaz-<version>.vsix from
Releases and run:
code --install-extension topaz-<version>.vsix
From source — package it yourself:
cd editors/vscode
npx @vscode/vsce package
code --install-extension topaz-*.vsix
Grammar
syntaxes/topaz.tmLanguage.json follows the Topaz v5.2 specification:
template tags (p/r/sh/sql), string interpolation and escapes, line and
block comments, numbers, types, and the operator set. The language is locked at
Topaz v5.2 — see the specification at https://topaz.ooo.