Setting up Go-lang-plugin on IntelliJ IDE (Windows)

While there are many guides about setting up go-lang-plugin on Linux and Mac Os X wasn’t able to find one for Windows and it took me a while to figure it out.

Bypassing the very basic steps, you should have Go SDK (Download) and IntelliJ IDE (Download) installed.

Open the directory which you installed Go -> bin and execute go.exe.

Now open IntelliJ and go Run -> Edit Configurations and on the menu Go Application should have the name of the project you created. Click on it and check the Environment variables on the right. Add GOROOT=“directory of Go folder” (E.g. GOROOT=C:/Go).

Although I still get an error: GOPATH environment variable is empty or could not be detected properly., have tried compiling different projects and no problem so far.

 
121
Kudos
 
121
Kudos

Now read this

Unity2d - Fix the 2D basic character asset to avoid getting stuck on walls [C#]

The ability of the basic 2D character Robot from Sample Asset collection to get stuck onto walls, can be really annoying. One option would be to increase the friction of the objects, it interacts with but that is not an optimal solution... Continue →