Sublime Text syntax highlighting for Bohemia Interactive’s SQF scripting language.
- Open Sublime Text.
- Press
Ctrl
+Shift
+P
(orCmd
+Shift
+P
on macOS) → Package Control: Install Package. - Search for SQF Language and press Enter.
Clone into your Packages directory:
git clone https://github.com/JonBons/Sublime-SQF-Language.git "SQF Language"
Or add the repo to Package Control:
Ctrl/Cmd
+Shift
+P
→ Package Control: Add Repository- Enter
https://github.com/JonBons/Sublime-SQF-Language/
- Then use Install Package and select SQF Language.
This repository includes a GitHub Action that checks the upstream SQF/Arma grammar definitions and regenerates artifacts automatically.
- Schedule: Every Saturday at 13:00 UTC (
0 13 * * 6
). - It runs
generate_sqf_template.py
, if changes are detected it commits the updatedSQF.tmLanguage
and completions. The commit message includes the upstream version (from vlad333000/vscode-sqf) and the short commit hash of the upstream change.
- Language definitions: Generated from the excellent work in vlad333000/vscode-sqf.
The generator consumes:
sqf.tmLanguage.json
arma-cfg.tmLanguage.json
Huge thanks to the maintainers and contributors of that project.
Issues and PRs are welcome! If you’re tweaking keywords or scopes, please include example snippets so I can verify highlighting across common SQF patterns.