Go Language Support for Gedit and Other GtkSourceView Based Editors

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.