filetypes.c 2.66 KB
Newer Older
1
# For complete documentation of this file, please see Geany's main documentation
Enrico Tröger's avatar
Enrico Tröger committed
2
[styling]
3 4
# foreground;background;bold;italic
default=0x000000;0xffffff;false;false
5 6
comment=0xd00000;0xffffff;false;false
commentline=0xd00000;0xffffff;false;false
7
commentdoc=0x3f5fbf;0xffffff;false;false
8
number=0x007f00;0xffffff;false;false
9 10 11 12 13 14 15 16
word=0x00007f;0xffffff;true;false
word2=0x991111;0xffffff;true;false
string=0xff901e;0xffffff;false;false
character=0xff901e;0xffffff;false;false
uuid=0x404080;0xffffff;false;false
preprocessor=0x007F7F;0xffffff;false;false
operator=0x301010;0xffffff;false;false
identifier=0x000000;0xffffff;false;false
17 18
stringeol=0x000000;0xe0c0e0;false;false
verbatim=0x101030;0xffffff;false;false
19
regex=0x105090;0xffffff;false;false
20 21
commentlinedoc=0x3f5fbf;0xffffff;true;false
commentdockeyword=0x3f5fbf;0xffffff;true;true
22
commentdockeyworderror=0x3f5fbf;0xffffff;false;false
23
globalclass=0x0000d0;0xffffff;true;false
24 25 26
# whether arguments of preprocessor commands should be styled (only first argument is used)
# 1 to enable, 0 to disable
styling_within_preprocessor=1;0;false;false
Enrico Tröger's avatar
Enrico Tröger committed
27

Enrico Tröger's avatar
Enrico Tröger committed
28
[keywords]
Enrico Tröger's avatar
Enrico Tröger committed
29
# all items must be in one line
30
primary=asm auto break case char const continue default do double else enum extern float for goto if inline int long register return short signed sizeof static struct switch typedef union unsigned void volatile while FALSE NULL TRUE
31
secondary=
32 33
# these are some doxygen keywords (incomplete)
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
Enrico Tröger's avatar
Enrico Tröger committed
34

35
[settings]
36 37 38
# default extension used when saving files
#extension=c

39
# the following characters are these which a "word" can contains, see documentation
40
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
41 42

# if only single comment char is supported like # in this file, leave comment_close blank
Enrico Tröger's avatar
Enrico Tröger committed
43 44
comment_open=//
comment_close=
45 46 47 48
# this is an alternative way, so multiline comments are used
#comment_open=/*
#comment_close=*/

Enrico Tröger's avatar
Enrico Tröger committed
49
# set to false if a comment character/string should start at column 0 of a line, true uses any
50
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
51 52 53 54 55 56
	#command_example();
# setting to false would generate this
#	command_example();
# This setting works only for single line comments
comment_use_indent=true

57 58 59
# context action command (please see Geany's main documentation for details)
context_action_cmd=

60 61 62 63
[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
64
compiler=gcc -Wall -c "%f"
65
linker=gcc -Wall -o "%e" "%f"
66
run_cmd="./%e"
67 68