JEdit Syntax Highlighting
About
jEdit is a powerful text-editor. See its website for more informations.
The following informations provides you with syntax-highlighting for ArmA's SQS (obsolete), SQF and SQM files.
ArmA-Script, Syntax Highlighting
jEdit allows users to write and modify the XML files that define its syntax highlighting, so we're providing instructions to achieve this.
First of all, download "arma_code_v_06jan07.zip" and put it in jEdit's 'modes' directory. Now we need to tell jEdit about it. Open up the 'catalog' file in the 'modes' directory. Between any two <MODE> tags insert the following:
<MODE NAME="armacode" FILE="arma_code.xml"
FILE_NAME_GLOB="*.{sqs,sqf,sqm}" />
I put it after "applescript" to maintain alphabetical order.
With all the files saved, jEdit should highlight ArmA-scripting functions. The appearance of the global syntax-highlighting can be changed under Utilities >> Global Options >> Syntax Highlighting.
Remarks
- Based on the Syntax-Highlighting for UltraEdit by Keijo Ruotsalainen (aka Kegetys) and Scripting Topics.
- I'm pretty sure that i missed a lot of functions ;-)
- --TomNedry 21:09, 6 January 2007 (CET)
Please post your suggestions and remarks below!
Basic information
- Author:
- TomNedry
- Version:
- 06jan2007
- Compatibility:
- Armed Assault
- Download:
- arma_code_v_06jan07.zip
Description
- Description:
-
jEdit is a powerful text-editor. See its website for more informations.
The following informations provides you with syntax-highlighting for ArmA's SQS (obsolete), SQF and SQM files.
jEdit allows users to write and modify the XML files that define its syntax highlighting, so we're providing instructions to achieve this.First of all, download "arma_code_v_06jan07.zip" and put it in jEdit's 'modes' directory. Now we need to tell jEdit about it. Open up the 'catalog' file in the 'modes' directory. Between any two <MODE> tags insert the following:
<MODE NAME="armacode" FILE="arma_code.xml" FILE_NAME_GLOB="*.{sqs,sqf,sqm}" />
I put it after "applescript" to maintain alphabetical order.
With all the files saved, jEdit should highlight ArmA-scripting functions. The appearance of the global syntax-highlighting can be changed under Utilities >> Global Options >> Syntax Highlighting. - Notes:
- I'm pretty sure that i missed some functions ;-)
Usage
Licenses
- Licensing:
- See also:
- Syntax-Highlighting for UltraEdit by Keijo Ruotsalainen (aka Kegetys) Scripting Topics.