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: 65901
Rating:
Participated in rating: 22
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 #5347
Screenshot #5352
Screenshot #5350
Screenshot #5277
Screenshot #5351
Screenshot #5349
Screenshot #5358
Screenshot #5348

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:

1234>
Anonymous
Rated:
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){}.
.
Anonymous
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.
.
Anonymous
Rated:
2014-09-25 05:40:05
Would love to see debugging added!
.
Anonymous
Rated:
2014-09-06 23:24:56
Good plugin! Please keep updated!
.
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
.
1234>