23.2.15

IntellIJ _ GO

IntelliJ has a nice Go plugin.  However, the releases you use have to be downloaded from github - the official IntelliJ Registered plugins are very obsolete (built for Go 1.2)! 


After you have the plugin downloaded (the zip file), you will want to move it into the Intellij Plugins directory.

cp Go92.zip /tmp
cd /tmp
mv Go /Applications/IntelliJ\ IDEA\ 14.app/Contents/plugins/

Okay, now launch IntelliJ.  It should automatically discover the plugin, and pop up your local Go lang version.

After you have it set up you should be able to get syntax highlighting and other IntelliJ goodies (like autocomplete), for free ! 

have fun !
Note.  This plugin is a little buggy at the time of this writing (febuary 24th).  

For example, var-arg methods get highlighted as incorrect, if the don't have any var args:
Nevertheless, the syntax highlighting and code completion is super useful if you are learning Go.

No comments:

Post a Comment