VIRTUAL INTERACTIVE ENVIRONMENT Development
Login form
Search
Site menu
Section categories
Gameplay [2]
ArmA 2
Editing [7]
ArmAII
Scripting [3]
ArmAII
Troubleshooting [0]
ArmAII
Main » Articles » ArmA 2 » Scripting

SQF Syntax Highlighting & Auto-Completion

Description:
A seasoned User-Defined Language file along with an Auto-Completion xml for NotePad++.
Provides intuitive color coding for functions and commands in the sqf format for e.g. Arma 2 and 3. Also features Auto-Completion for the latest functions from both Bohemia Interactive and Community Base Addons.

Installation / Usage:
Syntax Highlighting:

  1. Run NotePad++ and access Language --> Define Your Language..
  2. Import sqf.xml from either the dark or light theme folder.
  3. Extra: in case the color scheme doesn't suit you, change the appropriate styles.

Auto-Completion

  1. Locate your APIs folder. Likely in: C:\Program Files\Notepad++\plugins\
  2. Copy;paste or extract sqf.xml out of the Auto-Completion folder into the folder from step 1.
  3. Run Notepad++ and access Settings --> Preferences... from the top menu bar.
  4. Click on Auto-Completion from the menu and enable it by clicking the adjacent checkbox.
  5. Choose either Word completion or Function and word completion.

Known issues:
None, if you find some let him know!

Notes:
Themes:

  • Dark - for dark backgrounds, preferably black.
  • Light - for light backgrounds, preferably white.


Recommendation
For the dark theme I recommend using the the Notepad++ theme: Obsidian;
Along witht the global overrides: background color, font, font size, bold style and underline style.
This will avoid any unforseen changes to this user-defined language setup.
If you'd rather not mess with the Style configurator, simply use the light theme.

Expanding:
If you wish to expand the library of functions and commands, you can do so by simply adding KeyWord tags to sqf.xml.
In case you find new functions or commands, consider commenting on Armaholic so I won't forget to add them for a new revision.
I also highly appreciate suggestions!


- Notepad++

Download

Category: Scripting | Added by: Master (2014-07-05) | Author: Master
Views: 801 | Tags: Tools, bistudio community | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Sign Up | Login ]
NOTE
Site friends
  • Create a free website
  • uCoz Community
  • uCoz Textbook
  • Video Tutorials
  • Official Templates Store
  • Best Websites Examples
  • Statistics

    Total online: 1
    Guests: 1
    Users: 0
    TAGS
    projects configuration maps bistudio games terrain terrains bistudio bistudio mods Community bisimulations Wiki Contents Forums Update Overview video bitools buldozer addons bi studio user manuals biedi to sqm scripting missions arma 1 editing print sctripting ARMA 3 arma 2 modelling bistudio community Tools bistudio guides map arma guides support manuals tutorials sqf bi community mods
    Copyright © 2024 vied-arma.ucoz.com All Rights Reserved.