Add the go ctags parser
[geany-mirror.git] / data / filetypes.go
blob9d3d61103569f5f7fe483d90c6d6ae47fd5d204b
1 # For complete documentation of this file, please see Geany's main documentation
3 [styling=C]
5 [keywords]
6 # all items must be in one line
7 primary=break case chan const continue default defer else fallthrough for func go goto if import interface map package range return select struct switch type var
8 secondary=byte bool rune int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float32 float64 complex64 complex128 uintptr string
10 # these are the Doxygen keywords
11 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
13 [lexer_properties=C]
15 [settings]
17 # default extension used when saving files
18 extension=go
20 # MIME type
21 mime_type=text/x-go
23 # the following characters are these which a "word" can contains, see documentation
24 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
26 # single comments, like # in this file
27 comment_single=//
28 # multiline comments
29 comment_open=/*
30 comment_close=*/
32 # set to false if a comment character/string should start at column 0 of a line, true uses any
33 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
34 #command_example();
35 # setting to false would generate this
36 # command_example();
37 # This setting works only for single line comments
38 comment_use_indent=true
40 # context action command (please see Geany's main documentation for details)
41 context_action_cmd=
43 [indentation]
44 #width=4
45 # 0 is spaces, 1 is tabs, 2 is tab & spaces
46 #type=1
48 [build-menu]
49 FT_00_LB=_Build
50 FT_00_CM=go build %f
51 FT_00_WD=
52 FT_02_LB=Te_st
53 FT_02_CM=go test
54 FT_02_WD=
55 EX_00_LB=_Run
56 EX_00_CM=go run %f
57 EX_00_WD=