vscode-sqf
SQF Language support for VS Code
Visual Studio Marketplace
Features
- Full SQF language syntax
- Preprocessor commands Wiki
- Highlight structured text attributes, escape characters and placeholders Wiki
- Highlight deprecated commands and some invalid statements
- Highlight identifiers reserved by developers
- The color difference between global and local variables *
- Snippets library **
*To enable this syntax highlighting, you need to customize themes following this instruction. Required textMate spaces:
"variable.name.public.sqf" // Global variables
"variable.name.private.sqf" // Local variables
"support.function.<TAG>.sqf" // Known functions (Supported TAGs listed below)
"support.variable.<TAG>.sqf" // Known variables (Supported TAGs listed below)
"support.variable.<TAG>.reserved.sqf" // Reserved variables and functions = may not exists (Supported TAGs listed below)
**Examples:
xor >> ((A || B) && !(A && B))
ifthrow >> if (COND) throw [__FILE__, __LINE__, "exception"]
setvar >> namespace setVariable ["TAG_name", value]
getvar >> namespace getVariable "TAG_name"
Supported products
| |