ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

SQF Language

by JonBons ALL

Sublime Text 2/3 highlighter for Bohemia Interactive's SQF Language.

Details

  • 2025.09.29.01.59.01
  • github.​com
  • github.​com
  • 8 months ago
  • 2 hours ago
  • 14 years ago

Installs

  • Total 23K
  • Win 18K
  • Mac 3K
  • Linux 2K
Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20
Windows 2 0 1 0 0 0 0 0 0 0 0 0 0 2 1 3 2 1 0 1 1 1 0 0 1 0 2 3 2 4 1 3 0 0 1 0 0 1 1 0 2 0 0 0 3 2
Mac 2 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0
Linux 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 1 0 1 1 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text – SQF Syntax

Sublime Text syntax highlighting for Bohemia Interactive’s SQF scripting language.

Installation

Package Control (recommended)

  1. Open Sublime Text.
  2. Press Ctrl+Shift+P (or Cmd+Shift+P on macOS) → Package Control: Install Package.
  3. Search for SQF Language and press Enter.

Manual install

Clone into your Packages directory:

git clone https://github.com/JonBons/Sublime-SQF-Language.git "SQF Language"

Or add the repo to Package Control: 1. Ctrl/Cmd+Shift+PPackage Control: Add Repository 2. Enter https://github.com/JonBons/Sublime-SQF-Language/ 3. Then use Install Package and select SQF Language.

Definition Updates

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 updated SQF.tmLanguage and completions. The commit message includes the upstream version (from vlad333000/vscode-sqf) and the short commit hash of the upstream change.

Credits

  • 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.

Contributing

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.