Go Language Resources Go, golang, go... NOTE: This page ceased updating in October, 2012

Go Language Support for Gedit and Other GtkSourceView Based Editors

The syntax file for Gedit based editors is already included in the last versions of GtkSourceView.

For example in Ubuntu 12.04 that comes with Gedit 3.4.1:

$ ls /usr/share/gtksourceview-3.0/language-specs/go*
/usr/share/gtksourceview-3.0/language-specs/go.lang

Syntax Highlighting Files

Contributed by Jim Teeuwen:

You can use this syntax file for any text editor, IDE or other app that uses the GtkSourceView widget.

To install copy go.lang to /usr/share/gtksourceview-2.0/language-specs

Download: go.lang.

An alternative syntax file by Javier Pérez, based on c.lang:

Download: go-jp.lang.

And another one by Tonic Artos:

Download: go-ta.lang.

And yet one more by André Luiz Alves Moraes:

Download: go-al.lang.

Gedit Plugins

There is a Go plugin by fuzzybyte that has code completion using gocode, autoformatting with gofmt and other features:

https://bitbucket.org/fzzbt/go-gedit-plugin/src

Gedit Snippets for Go

A collection of code snippets by Yerlan Sergaziyev.

Download: gedit-go-snippets.tar.gz.