Remove now unnecessary "styling_within_preprocessor" C style key.
[geany-mirror.git] / data / filetypes.cpp
blob1e76c557bd0c9260395ee60e6d85469c733aaec8
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=word
10 word2=word2
11 string=string
12 character=string
13 uuid=0x404080
14 preprocessor=preprocessor
15 operator=operator
16 identifier=default
17 stringeol=stringeol
18 # @"verbatim"
19 verbatim=0x101030
20 # (/regex/)
21 regex=0x105090
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=and and_eq asm auto bitand bitor bool break case catch char class compl const const_cast continue default delete do double dynamic_cast else enum explicit export extern false float for friend goto if inline int long mutable namespace new not not_eq operator or or_eq private protected public register reinterpret_cast return short signed sizeof static static_cast struct switch template this throw true try typedef typeid typename union unsigned using virtual void volatile wchar_t while xor xor_eq
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 preprocessor.symbol.$(file.patterns.cpp)=#
37 preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
38 preprocessor.middle.$(file.patterns.cpp)=else elif
39 preprocessor.end.$(file.patterns.cpp)=endif
41 [settings]
42 # default extension used when saving files
43 #extension=cpp
45 # the following characters are these which a "word" can contains, see documentation
46 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
48 # if only single comment char is supported like # in this file, leave comment_close blank
49 comment_open=//
50 comment_close=
51 # this is an alternative way, so multiline comments are used
52 #comment_open=/*
53 #comment_close=*/
55 # set to false if a comment character/string should start at column 0 of a line, true uses any
56 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
57 #command_example();
58 # setting to false would generate this
59 # command_example();
60 # This setting works only for single line comments
61 comment_use_indent=true
63 # context action command (please see Geany's main documentation for details)
64 context_action_cmd=
66 [build_settings]
67 # %f will be replaced by the complete filename
68 # %e will be replaced by the filename without extension
69 # (use only one of it at one time)
70 compiler=g++ -Wall -c "%f"
71 linker=g++ -Wall -o "%e" "%f"
72 run_cmd="./%e"