IDEs and Text Editor Plugins for Go

We are done with the introduction and machine setup for GoLang in previous posts. If needed you can refer the same at Introduction to Go and Setting up your machine for Go.

Here I’m going to explain about the IDEs and Text Editor plugins which supports with the programming and syntax of Go.

  • Atom: JavaScript-based editor from GitHub. Go support at go-plus
  • BBedit: commercial text editor for OS X.
    - Basic Go support available with the module http://pine.barebones.com/extensions/Go.plist.zip
    - Go-bbpackage with clippings, ctags standard library completion, better syntax highlighting, and tools
  • Brackets: a modern, open source text editor that understands web design.
    - go-ide Go support with autocompletion through gocode.
  • Codebox IDE: open-source cross-platform IDE, runs on desktop (Linux or OS X) and in the cloud with Go support
  • CodeEnv: A cloud-based IDE now includes full Go support.
  • Eclipse IDE: a very popular, open-source, cross-platform IDE. GoClipse plugin enables Go support.
  • Emacs: Extensible and customizable text editor.
    - Mode file maintained at https://github.com/dominikh/go-mode.el.
    - GoFlyMake Flymake-style syntax checking for Go
    - go-errcheck.el Errcheck integration for Emacs
  • Gedit: Official text editor for the GNOME Desktop. Plugin for Auto-Completion and Code-Formatting available.
  • Geany: Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. Supports Go syntax highlighting out of the box.
  • Gocode: An autocompletion daemon that includes support for emacs and vim.
  • godef: Prints the source location of definitions in Go programs. Integrates with acme, emacs, vim and SublimeText.
  • Gotags: Generates ctags-compatible tag files
  • GoWorks: NetBeans based open source Go IDE.
  • IntelliJ IDEA: Commercial cross-platform IDE, free Community Edition available. Open-Source plugin for Go support available. All derivative platforms of IntelliJ (PyCharm, PhpStorm et al.) are supported. Nightly / alpha builds available at plugin repository
  • jEdit: open-source, cross-platform text editor written in Java. Syntax-highlighting file available.
  • joe: JOE is a full featured terminal-based screen editor which is distributed under the GNU General Public License (GPL). Supports Go syntax highlighting out of the box.
  • Komodo IDE Powerful cross-platform IDE with built-in Go support
  • Komodo Edit Powerful cross-platform text editor, Go-lang support available via plugin
  • Lime Text: Developed in Go, aims to be a Free and open-source software alternative to Sublime Text. Not quite ready yet but welcoming contributions to the progress. https://github.com/limetext/lime
  • LiteIDE: A simple, open source and cross-platform Go IDE
  • Notepad++: Free source code editor for Windows.
    - notepadplus-go Syntax highlighting, functions list panel (for code browsing), code completion for keywords & builtins.
    - The GOnpp plugin (available via Notepad++’s built-in Plugin Manager) provides code completion (requires gocode), function calltips, goimports integration, and keyboard shortcuts for common go commands. [sources, binaries].
    - GoAutocomplete is another code completion plugin.
  • Sublime Text: Commercial text editor. Plugin collection with IDE-like features available.
  • Textadept: Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor. Supports Go syntax highlighting out of the box.
  • TextMate: Commercial text editor for OS X. Source code available under the GPLv3. Bundle for Go available.
  • TextWrangler: free little brother of BBedit. Both the Go module and Go.bbpackage for BBedit work for TextWrangler as well.
  • Vim & Neovim: Vi Improved. There are a number of plugins available that make editing Go code easier.
    - The vim-go plugin includes misc/vim and has many other new improvements.
    - The Syntastic plugin gives instant feedback on compile errors
    - The tagbar plugin uses Gotags, above, to show an outline of the current file
    - A vim compiler plugin for syntax checking
    - A vim-godef plugin integrates with the ‘godef’ tool, above
    - A vim-go-extra is vim plugin based on misc/vim in go repository. This works fine on windows too!
  • Visual Studio: Commercial IDE by Microsoft for Windows. A Go Language Support extension is available for Visual Studio 2010, 2012 and 2013 Pro, Enterprise, and Community.
  • Visual Studio Code: Free & open source IDE by Microsoft. Visual Studio Code supports Go syntax highlighting out of the box. Additional features are provided by the vscode-go plugin.
  • GNU Nano: a simple .nanorc for GNU Nano (“pico”).
  • Zeus: Commercial IDE for Go (Windows or Linux with Wine).
  • Wide: A Web-based IDE for Teams using Go programming language/Golang.

Personally I suggest to chose Atom IDE and go-plus. From my experience it’s one of the powerful open source IDE for programming with Go.