opensource software

Go language ( support plugin

Products: IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, MPS, Android Studio, 0xDBE, CLion





Bugtracker page


Support for Go programming language.(see Release notes for version 0.9.15

The plugin provides the following features:

  • Basic language parsing and highlighting
  • Code folding and Brace matching
  • Comment/Uncomment (Single/Multiple line) support
  • Go application file and library generation.
  • Auto completion of sdk package names and/or local application packages.
  • Compilation of the go applications (supported semantics are similar to those of gobuild)
  • Native plugin code formatter
  • GoTo class (go types) implementation
  • ColorsAndSettings page with a new color scheme
  • Completion/Resolution of vars/types/functions/structs/methods (works across some expression chains).
  • Refactorings: Introduce variable/constant
  • Inspections: Unused imports/variables/constants/parameters/symbols
  • Inspections: Validate the format param for the fmt.Print suite of functions
  • Inspections: Detect non constant expression used in constant declarations
  • Intentions: Invert if condition/Merge nested 'if's/Split into 2 'if's/Convert switch statement to if chain.
  • Intentions: Convert between interpreted string and raw string.
  • Intention: go get a package.
  • Intention: Add/Remove parentheses.
  • Intention: Move simple statement out.
  • Inspection: Validate that the package names in files are correct with respect of the folder name.
  • Documentation for functions, methods, variable, constants and types.
  • Function parameter information.
  • Ctrl+Shift+T to jump between source file and test file.
  • Navigation from stack trace in output panel.
  • Ctrl+Shift+Enter to add curly brackets for "func", "if" and "for" statements.
  • Live templates: "sout", "souf", "soutm" and "soutp".
  • Go aware imports optimizer and auto import generator
  • Import usage highlighting (and detecting of wrong imports)
  • Better Structure view
  • Automatically add new line at end of file
  • Force UTF-8 encoding for go files
  • Detection of bundled Go Sdk packages (useful when deployed as GoIde)
  • Run configuration creator (right click on a program file and you can run it).
  • Go SDK (Go 1.2 on linux/mac/windows)
  • Go module type
  • Go App engine sdk type
  • Go App engine credentials safe storage
  • Added go application wizard
  • Makefile based build system (bring your own Makefile). Experimental. Configured in project settings.
  • Always use tabs instead of spaces (but configurable if desired).
  • go fmt integration via Tools -> Go menu options (default CTRL+ALT+SHIFT+F for file and CTRL+ALT+SHIFT+G for project)
Downloads: 88284
Participated in rating: 27
Version Since Build Until Build File/URL Size (Kb) Date Details 133.326. . Download 1454.09 2014-01-09 10:30:47 details
0.9.13. 123.72. . Download 1357.82 2012-12-17 12:13:57 details
0.9.10. 111. . Download 1316.41 2012-09-03 01:46:31 details
. .
14 updates are hidden show all updates
Screenshot #5277
Screenshot #5348
Screenshot #5352
Screenshot #5358
Screenshot #5351
Screenshot #5350
Screenshot #5349
Screenshot #5347

Recent change notes:

Fix project creation in multiple IntelliJ products.

General usage instructions:

After the plugin is installed any file named *.go inside the source path for the current module will be parsed and highlighted as a go source code file. You will also need to download / compile and define a Google Go SDK and add a facet google go to your module in order to be able to compile and run go applications. There might be issues when editing (the parsing is not perfect) and i would like to know about it so i can fix it.


Scott Messier
2015-02-27 21:57:03
Seems to crash frequently in Ubuntu 14.04, sometimes prevents keystroke editing of document until IDE is restarted. The .go file icons also become invisible at odd times.
2015-02-16 22:35:32
This plugin is great so far! Looking forward to future releases.. thanks!
2014-12-19 22:13:46
2014-11-28 01:13:55
Good plugin, but has some rough edges. Nevertheless I use it daily to code go.
2014-11-04 15:03:44
This version is outdated... How to update it???
2014-10-11 19:50:30
The same problem. I got "Expression type mismatch, the expected type is func(ResponseWriter, *Request)" error for func handler(w http.ResponseWriter, r *http.Request){}.
2014-09-30 22:16:52
Is there no way to "touch" existing projects to be discovered as go projects? The plugin only works for me when creating new go projects. Otherwise it's not detecting imports properly.
2014-09-25 05:40:05
Would love to see debugging added!
2014-09-06 23:24:56
Good plugin! Please keep updated!
2014-07-24 12:45:17
Would love to see debugging in there. People please vote so this might get some love from JetBrains itself!!
2014-07-10 01:17:25
Are there any plans to support Interactive DEBUGGING of Golang?
2014-06-19 04:19:41
@Nuri If you have IntelliJ 13 it is pretty easy to build the plugin yourself. You just have to include the plugins SDK and compile the plugin in IntelliJ itself.
2014-05-15 03:43:15
Does anyone know when the 0.9.16 version of the plugin is going to be released ( It has the all important debugging support! I can't wait to try it.
2014-05-01 17:40:25
How to use it for App Engine project? App Engine project doesn't have bin, pkg, src file structure.
2014-05-01 17:35:22
I got "Expression type mismatch, the expected type is func(ResponseWriter, *Request)" error for func handler(w http.ResponseWriter, r *http.Request){}.