Syntax highlighting for SFZ headers, opcodes, and settings
A theme ("Dark+ for SFZ") based on Dark+ for coloring SFZ-specific features
Parameter validation for most documented opcodes
Some snippets for creating and editing SFZ files
Editing
Syntax highlighting and parameter validation are handled by a set of TextMate Language Grammars found in the syntaxes/sfz.tmLanguage.json file.
Opcode token definitions are organized by SFZ version (v1, v2, ARIA) and category (e.g. Sound Source or Region Logic). To disable a group of patterns (e.g. ARIA-specific instrument setting opcodes), delete the corresponding #include line at the top of the tmLanguage file.
Parameter validations are organized by type (float, int, string) and range (for example, validation of floats between 0 and 100 is in the "float_0-100" object).
Color assignments can be changed in the themes/sfz.theme.json file. For a guide, I used Simon Cann's SFZTools for UltraEdit. Tokens defined specifically for this theme are at the top of the file.
Snippets can be changed in the snippets/sfz.json file.