Notepad++ syntax highlighting and autocompletion for SQF (the scripting language for the ArmA games). All known functions from ArmA 3 (and previous titles) are supported. Code block folding is also supported.
- Open Notepad++.
- Click in the menu on: "Language -> Define your own Language -> Import".
- Import the file "syntaxhighlighting/SQF.xml".
- Restart Notepad++.
The steps in the section "Syntax Highlighting" are required for auto completion.
- Copy the file "autocompletion/SQF.xml" into the folder "C:\Program Files (x86)\Notepad++\plugins\APIs" (or where you installed Notepad++).
- Restart Notepad++.
- Open "Settings -> Preferences..." in Notepad++.
- Go to the tab "Backup/Auto-Completion".
- Choose following options:
- Enable "Enable auto-completion on each input"
- Choose "Function completion"
- Set "From 3th character" (or what you prefer)
You can modify the styles via "Language -> Define your own Language". Select "SQF" (under "User language").
Open "Settings -> Style Configurator". Set the background color and/or font under "Global Styles -> Default style".
In the themes folder there are ready to use styles you can use instead of the default styles. Open the "autocompletion/SQF.xml" and replace the "..." section with the content of one of the files in the themes folder. After this, import your modified "autocompletion/SQF.xml" into Notepad++ (see section "Syntax Highlighting"). You may remove your existing styles first with "Language -> Define your own Language -> Remove".