Categories


Authors:
mtoader
opensource software

Go language (golang.org) support plugin

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

Vendor: mtoader@gmail.com

Email:

Website: http://github.com/go-lan...-org/go-lang-idea-plugin

SourceCode: https://github.com/go-la...-org/go-lang-idea-plugin

Bugtracker page

Description:

Support for Go programming language.(see http://golang.org) 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: 54960
Rating:
Participated in rating: 18
Version Since Build Until Build File/URL Size (Kb) Date Details
0.9.15.3. 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 #5351
Screenshot #5349
Screenshot #5277
Screenshot #5348
Screenshot #5358
Screenshot #5352
Screenshot #5347
Screenshot #5350

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.

Comments:

123>
GeorgeLec
Rated:
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!!
.
l3x
2014-07-10 01:17:25
Are there any plans to support Interactive DEBUGGING of Golang?
.
fernz
Rated:
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.
.
Nuri
2014-05-15 03:43:15
Does anyone know when the 0.9.16 version of the plugin is going to be released (https://github.com/go-lang-plugin-org/go-lang-idea-plugin)? It has the all important debugging support! I can't wait to try it.
.
Anonymous
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.
.
Anonymous
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){}.
.
Anonymous
2014-04-19 22:08:36
In Win32 OS,the name of folders or files in a project can not contain any space character,otherwise errors will raise when building .exe file
.
Anonymous
2014-04-19 22:02:30
In Win32 OS,the name of folders or files in a project can not contain any space character
.
Anonymous
Rated:
2014-03-18 18:28:06
Please! Update this plugin to 13 version. Don't stop! =)
.
Anonymous
Rated:
2014-01-16 19:50:26
great!
.
florinpatan
Rated:
2014-01-04 16:26:26
.
alexander@tsarev.org
2013-11-03 18:53:44
The plugin does not work properly 1. Does not work correctly with *_windows.go, *_darwin.go, and etc. (Say: MyFunc redeclared in this block) 2. He does not understand the local packages, such as "logs/ext", "mylib/ext" and especially import "logs/ext" from "mylib/ext" 3. Do not use code formatting built-go 4. Very long compiles Big projects which are easily assembled on Eclipse and LiteIde not going to IntelliJ IDEA If you fix these errors IDE would work just fine! Do you plan to further refine the plug?
.
stevenroose
Rated:
2013-08-25 04:35:58
Please add support for version 13. I can't live without this plugin :)
.
Anonymous
2013-08-14 12:29:45
pls add debug support
.
flybirding
Rated:
2013-07-30 10:24:22
Easy to use. I love it.
.
123>