Merge pull request #743 from andrej-herceg/sk-po
[geany-mirror.git] / data / filetypes.cpp
blob515d4bdfae59f7bacb06d46d9591c932976b8b74
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 long mutable namespace new noexcept not not_eq nullptr operator or or_eq override private protected public register reinterpret_cast return short signed sizeof 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 # MIME type
26 mime_type=text/x-c++src
28 # the following characters are these which a "word" can contains, see documentation
29 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
31 # single comments, like # in this file
32 comment_single=//
33 # multiline comments
34 comment_open=/*
35 comment_close=*/
37 # set to false if a comment character/string should start at column 0 of a line, true uses any
38 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
39 #command_example();
40 # setting to false would generate this
41 # command_example();
42 # This setting works only for single line comments
43 comment_use_indent=true
45 # context action command (please see Geany's main documentation for details)
46 context_action_cmd=
48 [indentation]
49 #width=4
50 # 0 is spaces, 1 is tabs, 2 is tab & spaces
51 #type=1
53 [build-menu]
54 # %f will be replaced by the complete filename
55 # %e will be replaced by the filename without extension
56 # (use only one of it at one time)
57 FT_00_LB=_Compile
58 FT_00_CM=g++ -Wall -c "%f"
59 FT_00_WD=
60 FT_01_LB=_Build
61 FT_01_CM=g++ -Wall -o "%e" "%f"
62 FT_01_WD=
63 FT_02_LB=_Lint
64 FT_02_CM=cppcheck --language=c++ --enable=warning,style --template=gcc "%f"
65 FT_02_WD=
66 EX_00_LB=_Execute
67 EX_00_CM="./%e"
68 EX_00_WD=