Goeclipse configuration Approximate steps (based on Goeclipse 0.14.1 version)

Source: Internet
Author: User
Tags gocode
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.