ClassBuilder: Defy GTK+ conventions and instead generate valid C code
[geany-mirror.git] / data / filetypes.cpp
blob12c4b2ba68fb7783f30cb7e61d35ffc68dd623f4
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=alignas alignof and and_eq asm auto bitand bitor bool break case catch char char16_t char32_t class compl const const_cast constexpr continue decltype default delete do double dynamic_cast else enum explicit export extern false final float for friend goto if inline int int8_t int16_t int32_t int64_t long mutable namespace new noexcept not not_eq nullptr operator or or_eq override private protected ptrdiff_t public register reinterpret_cast return short signed sizeof size_t static static_assert static_cast struct switch template this thread_local throw true try typedef typeid typename union unsigned using virtual void volatile wchar_t while xor xor_eq
7 secondary=
8 # these are the Doxygen keywords
9 docComment=a addindex addtogroup anchor arg attention author authors b brief bug c callergraph callgraph category cite class code cond copybrief copydetails copydoc copyright date def defgroup deprecated details dir dontinclude dot dotfile e else elseif em endcode endcond enddot endhtmlonly endif endinternal endlatexonly endlink endmanonly endmsc endrtfonly endverbatim endxmlonly enum example exception extends file fn headerfile hideinitializer htmlinclude htmlonly if ifnot image implements include includelineno ingroup interface internal invariant latexonly li line link mainpage manonly memberof msc mscfile n name namespace nosubgrouping note overload p package page par paragraph param post pre private privatesection property protected protectedsection protocol public publicsection ref related relatedalso relates relatesalso remark remarks result return returns retval rtfonly sa section see short showinitializer since skip skipline snippet struct subpage subsection subsubsection tableofcontents test throw throws todo tparam typedef union until var verbatim verbinclude version warning weakgroup xmlonly xrefitem
11 [lexer_properties]
12 styling.within.preprocessor=1
13 lexer.cpp.track.preprocessor=0
14 preprocessor.symbol.$(file.patterns.cpp)=#
15 preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
16 preprocessor.middle.$(file.patterns.cpp)=else elif
17 preprocessor.end.$(file.patterns.cpp)=endif
19 [settings]
20 lexer_filetype=C
22 # default extension used when saving files
23 extension=cpp
25 # the following characters are these which a "word" can contains, see documentation
26 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
28 # single comments, like # in this file
29 comment_single=//
30 # multiline comments
31 comment_open=/*
32 comment_close=*/
34 # set to false if a comment character/string should start at column 0 of a line, true uses any
35 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
36 #command_example();
37 # setting to false would generate this
38 # command_example();
39 # This setting works only for single line comments
40 comment_use_indent=true
42 # context action command (please see Geany's main documentation for details)
43 context_action_cmd=
45 [indentation]
46 #width=4
47 # 0 is spaces, 1 is tabs, 2 is tab & spaces
48 #type=1
50 [build_settings]
51 # %f will be replaced by the complete filename
52 # %e will be replaced by the filename without extension
53 # (use only one of it at one time)
54 compiler=g++ -Wall -c "%f"
55 linker=g++ -Wall -o "%e" "%f"
56 run_cmd="./%e"