Tuesday, April 8, 2014

Setup IntelliJ IDEA with GoLang on Ubuntu

  1. Install golang package
  2. Put this into ~/.profile:
    export GOROOT=$(go env GOROOT)
    export GOPATH="$HOME/projects/go"
  3. Download and unpack IntelliJ IDEA Community Edition from here. Launch idea-IC-135.480/bin/idea.sh
  4. Install GoLang plugin for IDEA. Open the Plugins installation page: File -> Settings -> Plugins -> Browse Repositories... Search for "golang". Right click on the proper plugin and install.
More info here.

No comments:

Post a Comment