Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add support for the Go programming language

- syntax highlighting
- support for the go compiler (as opposed to gccgo)
  • Loading branch information...
commit 51c541faa223b5a8cab3eddc0bee49172b85ca2d 1 parent d5440c1
@tomboy-64 tomboy-64 authored codebrainz committed
Showing with 57 additions and 1 deletion.
  1. +1 −0  NEWS
  2. +2 −1  data/filetype_extensions.conf
  3. +54 −0 data/filetypes.Go.conf
1  NEWS
@@ -109,6 +109,7 @@ Geany 1.23 (unreleased)
* Update default D template to use a more standard prototype for
* Fix improperly translated string in Pascal template (#3602314).
+ * Add Go language filetype (tomboy64)
* Export: Fix missing linking on libm (Chow Loong Jin)
3  data/filetype_extensions.conf
@@ -28,6 +28,7 @@ Fortran=*.f90;*.f95;*.f03;
@@ -63,7 +64,7 @@ None=*;
# Note: restarting is required after editing groups
54 data/filetypes.Go.conf
@@ -0,0 +1,54 @@
+# For complete documentation of this file, please see Geany's main documentation
+# all items must be in one line
+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
+secondary=byte bool rune int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float32 float64 complex64 complex128 uintptr string
+# these are the Doxygen keywords
+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
+# default extension used when saving files
+# the following characters are these which a "word" can contains, see documentation
+# single comments, like # in this file
+# multiline comments
+# set to false if a comment character/string should start at column 0 of a line, true uses any
+# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
+ #command_example();
+# setting to false would generate this
+# command_example();
+# This setting works only for single line comments
+# context action command (please see Geany's main documentation for details)
+# 0 is spaces, 1 is tabs, 2 is tab & spaces
+FT_00_CM=go build %f
+FT_02_CM=go test
+EX_00_CM=go run %f
Please sign in to comment.
Something went wrong with that request. Please try again.