This is a created article in which the information may have evolved or changed.
Because more accustomed to eclipse, spent the whole day to finally put Goeclipse compilation and debugging environment, there are three main difficulties: 1) The wall problem 2) Plug-in version differences (the Goeclipse version of the installation configuration mentioned on the Internet differs greatly from the existing version (0.14.1)), and 3) the compilation of EXE files, such as Gocode, Oracle, and Godef, which are required by the plugin, as follows:
1, to the official website to download the Eclipse basic version, online search download go version and liteide software;
2, through the general steps on the Internet to install the Goeclipse plug-in (goeclipse website plugin URL is http://goclipse.github.io/releases/);
3, the difficulty lies in the Goeclipse plug-in configuration:
1) Gocode.exe plug-in download decompression and placed in the SRC directory of Go (Go/src/github.com/nsf/gocode, the official website is Github.com/nsf/gocode) installed by the following command
C:\learntool\go\src>go install Github.com/nsf/gocode will automatically generate Gocode.exe files in Go/bin directory;
2) Similar method to install Oracle.exe plug-in (official website: https://github.com/golang/tools);
3) Similar method to install Godef.exe plug-in (official website: github.com/rogpeppe/godef);
4, GDB debugging: From the bin directory in the liteide copy Gdb.exe and Gdb64.exe, set the next path;
This allows you to edit the compilation and debug go programs under Eclipse.