JEdit Syntax Highlighting: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "[[Image:" to "[[File:")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Tool|=
{{Tool


|AUTHOR=
|AUTHOR=
Line 8: Line 8:


|COMPATIBILITY=
|COMPATIBILITY=
[[:Category:Armed Assault|Armed Assault]]
[[:Category:ArmA: Armed Assault|{{arma1}}]]


|DOWNLOAD=
|DOWNLOAD=
[http://www.airpressuretendency.net/tools/arma_code_v_06jan07.zip arma_code_v_06jan07.zip]
{{Link|http://www.airpressuretendency.net/tools/arma_code_v_06jan07.zip|arma_code_v_06jan07.zip}}


|DESCRIPTION=
|DESCRIPTION=
[[Image:Jedit_arma_highlight.jpg|thumb]]
[[File:Jedit_arma_highlight.jpg|thumb]]
jEdit is a powerful text-editor. See its [http://www.jedit.org website] for more informations.
jEdit is a powerful text-editor. See its {{Link|http://www.jedit.org|website}} for more information.




The following information provides you with syntax-highlighting for ArmA's SQS (obsolete), [[SQF_syntax|SQF]] and SQM files.
The following information provides you with syntax-highlighting for ArmA's SQS (obsolete), [[SQF Syntax|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.
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 "[http://www.airpressuretendency.net/tools/arma_code_v_06jan07.zip 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:
First of all, download "{{Link|http://www.airpressuretendency.net/tools/arma_code_v_06jan07.zip|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:




Line 42: Line 42:


|LICENSING=
|LICENSING=
[http://creativecommons.org/licenses/by-nc-sa/2.5/ Creative Commons, Attribution-NonCommercial-ShareAlike 2.5]
{{Link|http://creativecommons.org/licenses/by-nc-sa/2.5/|Creative Commons, Attribution-NonCommercial-ShareAlike 2.5}}
|SEEALSO=
|SEEALSO=
Syntax-Highlighting for UltraEdit by [http://www.kegetys.net/arma/ Keijo Ruotsalainen] (aka Kegetys)  
Syntax-Highlighting for UltraEdit by {{Link|http://www.kegetys.net/arma/|Keijo Ruotsalainen}} (aka Kegetys)  


[[:Category:Scripting Topics|Scripting Topics]].
[[:Category:Scripting Topics|Scripting Topics]].
}}
}}
=== Notes ===
=== Notes ===
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[{{SERVER}}/wiki?title={{PAGENAMEE}}&action=edit&section=1 + Add Note]
[{{SERVER}}/wiki?title={{PAGENAMEE}}&action=edit&section=1 + Add Note]




[[Category:Community Tools]]
[[Category:Community Tools]]

Latest revision as of 23:10, 20 November 2023

Basic information

Author:
TomNedry
Version:
06jan2007
Compatibility:
Armed Assault
Download:
arma_code_v_06jan07.zip

Description

Description:
Jedit arma highlight.jpg

jEdit is a powerful text-editor. See its website for more information.


The following information 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:
Creative Commons, Attribution-NonCommercial-ShareAlike 2.5
See also:
Syntax-Highlighting for UltraEdit by Keijo Ruotsalainen (aka Kegetys) Scripting Topics.

Notes

+ Add Note