mirror of
https://github.com/irmen/prog8.git
synced 2025-02-22 16:29:05 +00:00
started adding syntax highlighting files
This commit is contained in:
parent
895b30f7e5
commit
261c0fc9b6
@ -1 +1 @@
|
||||
5.2
|
||||
5.3-SNAPSHOT
|
||||
|
@ -6,6 +6,7 @@
|
||||
main {
|
||||
|
||||
sub start() {
|
||||
txt.print("hello\n")
|
||||
}
|
||||
|
||||
}
|
||||
|
23
syntax-files/IDEA/Prog8.xml
Normal file
23
syntax-files/IDEA/Prog8.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<filetype binary="false" description="Prog8 source file" name="Prog8">
|
||||
<highlighting>
|
||||
<options>
|
||||
<option name="LINE_COMMENT" value=";" />
|
||||
<option name="COMMENT_START" value="{{" />
|
||||
<option name="COMMENT_END" value="}}" />
|
||||
<option name="HEX_PREFIX" value="$" />
|
||||
<option name="NUM_POSTFIXES" value="" />
|
||||
<option name="HAS_BRACES" value="true" />
|
||||
<option name="HAS_BRACKETS" value="true" />
|
||||
<option name="HAS_PARENS" value="true" />
|
||||
<option name="HAS_STRING_ESCAPES" value="true" />
|
||||
</options>
|
||||
<keywords keywords="&;->;@;\$;and;as;asmsub;break;clobbers;continue;do;downto;else;false;for;goto;if;if_cc;if_cs;if_eq;if_mi;if_ne;if_neg;if_nz;if_pl;if_pos;if_vc;if_vs;if_z;in;not;or;repeat;return;romsub;step;sub;to;true;until;when;while;xor;~" ignore_case="false" />
|
||||
<keywords2 keywords="%address;%asm;%asmbinary;%asminclude;%breakpoint;%import;%launcher;%option;%output;%target;%zeropage;%zpreserved" />
|
||||
<keywords3 keywords="byte;const;float;str;struct;ubyte;uword;void;word;zp" />
|
||||
<keywords4 keywords="abs;acos;all;any;asin;atan;avg;ceil;clear_carry;clear_irqd;cos;cos16;cos16u;cos8;cos8u;deg;exit;floor;leftstr;len;ln;log2;lsb;lsl;lsr;max;memcopy;memset;memsetw;min;mkword;msb;rad;read_flags;reverse;rightstr;rnd;rndf;rndw;rol;rol2;ror;ror2;round;rrestore;rsave;set_carry;set_irqd;sgn;sin;sin16;sin16u;sin8;sin8u;sizeof;sort;sqrt;sqrt16;strcmp;strlen;substr;sum;swap;tan" />
|
||||
</highlighting>
|
||||
<extensionMap>
|
||||
<mapping ext="p8" />
|
||||
<mapping ext="prog8" />
|
||||
</extensionMap>
|
||||
</filetype>
|
8
syntax-files/IDEA/readme.txt
Normal file
8
syntax-files/IDEA/readme.txt
Normal file
@ -0,0 +1,8 @@
|
||||
Prog8 syntax highlighting file for IntelliJ IDEA.
|
||||
|
||||
Copy the file Prog8.xml to your IDEA filetypes folder.
|
||||
|
||||
The exact path may vary with the version of the IDE,
|
||||
but for me it is currently this on Linux:
|
||||
|
||||
$HOME/.config/JetBrains/IntelliJIdea2020.2/filetypes/
|
1
syntax-files/Kate/readme.txt
Normal file
1
syntax-files/Kate/readme.txt
Normal file
@ -0,0 +1 @@
|
||||
TODO
|
1
syntax-files/NotepadPlusPlus/readme.txt
Normal file
1
syntax-files/NotepadPlusPlus/readme.txt
Normal file
@ -0,0 +1 @@
|
||||
TODO
|
1
syntax-files/Sublimetext3/readme.txt
Normal file
1
syntax-files/Sublimetext3/readme.txt
Normal file
@ -0,0 +1 @@
|
||||
TODO
|
5
syntax-files/VSCode/readme.txt
Normal file
5
syntax-files/VSCode/readme.txt
Normal file
@ -0,0 +1,5 @@
|
||||
A contributed syntax definition file for Visual Studio Code can be obtained from:
|
||||
|
||||
https://github.com/akubiczek/Prog8-TmLanguage-VsCode
|
||||
|
||||
|
1
syntax-files/Vim/readme.txt
Normal file
1
syntax-files/Vim/readme.txt
Normal file
@ -0,0 +1 @@
|
||||
TODO
|
Loading…
x
Reference in New Issue
Block a user