Haxe: Update keywords (#1216)
[geany-mirror.git] / data / filedefs / filetypes.haxe
blob7b8e26f5de10c250fbf14ef9acc1b7119dbb3634
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling=C]
4 [keywords]
5 # all items must be in one line
6 primary=abstract break case cast catch class continue default trace do dynamic else enum extends extern false for function if implements import in inline interface macro new null override package private public return static switch this throw true try typedef untyped using var while
7 secondary=Bool Dynamic Float Int Void Enum String
8 classes=Array ArrayAccess Class Date DateTools EReg Hash IntHash IntIter Iterable Iterator Lambda List Math Null Protected Reflect Std StringBuf StringTools Type UInt ValueType Xml XmlType
10 [lexer_properties=C]
11 # Haxe preprocessor has different directive than C, which the C lexer doesn't understand, so
12 # we explicitly need not track the preprocessor at all.
13 lexer.cpp.track.preprocessor=0
15 [settings]
16 # default extension used when saving files
17 extension=hx
19 # the following characters are these which a "word" can contains, see documentation
20 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
22 # single comments, like # in this file
23 comment_single=//
24 # multiline comments
25 #comment_open=
26 #comment_close=
28 # set to false if a comment character/string should start at column 0 of a line, true uses any
29 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
30 #command_example();
31 # setting to false would generate this
32 # command_example();
33 # This setting works only for single line comments
34 comment_use_indent=true
36 # context action command (please see Geany's main documentation for details)
37 context_action_cmd=
39 [indentation]
40 #width=4
41 # 0 is spaces, 1 is tabs, 2 is tab & spaces
42 #type=1
44 [build_settings]
45 # %f will be replaced by the complete filename
46 # %e will be replaced by the filename without extension
47 # (use only one of it at one time)
48 compiler=haxe -neko "%e.n" -cp . "%f"
49 run_cmd=neko "%e"