Move document encoding conversion with BOM support to encodings.[ch]
[geany-mirror.git] / data / filetypes.c
blobdf7fe743e2e5160272d6fcae737275a64d25af76
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # foreground;background;bold;italic
4 default=default
5 comment=comment
6 commentline=comment
7 commentdoc=commentdoc
8 number=number
9 word=keyword
10 word2=keyword2
11 string=string
12 character=string
13 uuid=extra
14 preprocessor=preprocessor
15 operator=operator
16 identifier=default
17 stringeol=stringeol
18 # @"verbatim"
19 verbatim=extra
20 # (/regex/)
21 regex=extra
22 commentlinedoc=commentdoc,bold
23 commentdockeyword=commentdoc,bold,italic
24 commentdockeyworderror=commentdoc
25 globalclass=type
27 [keywords]
28 # all items must be in one line
29 primary=asm auto break case char const continue default do double else enum extern float for goto if inline int long register restrict return short signed sizeof static struct switch typedef union unsigned void volatile while FALSE NULL TRUE
30 secondary=
31 # these are some doxygen keywords (incomplete)
32 docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return see since struct throw todo typedef var version warning union
34 [lexer_properties]
35 styling.within.preprocessor=1
36 lexer.cpp.track.preprocessor=0
37 preprocessor.symbol.$(file.patterns.cpp)=#
38 preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
39 preprocessor.middle.$(file.patterns.cpp)=else elif
40 preprocessor.end.$(file.patterns.cpp)=endif
42 [settings]
43 # default extension used when saving files
44 extension=c
46 # the following characters are these which a "word" can contains, see documentation
47 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
49 # if only single comment char is supported like # in this file, leave comment_close blank
50 comment_open=//
51 comment_close=
52 # this is an alternative way, so multiline comments are used
53 #comment_open=/*
54 #comment_close=*/
56 # set to false if a comment character/string should start at column 0 of a line, true uses any
57 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
58 #command_example();
59 # setting to false would generate this
60 # command_example();
61 # This setting works only for single line comments
62 comment_use_indent=true
64 # context action command (please see Geany's main documentation for details)
65 context_action_cmd=
67 [build_settings]
68 # %f will be replaced by the complete filename
69 # %e will be replaced by the filename without extension
70 # (use only one of it at one time)
71 compiler=gcc -Wall -c "%f"
72 linker=gcc -Wall -o "%e" "%f"
73 run_cmd="./%e"