Configuring the Go Language development environment under eclipse

Source: Internet
Author: User
Tags gocode
This is a creation in Article, where the information may have evolved or changed.

1. Configure the Go language plugin under eclipse

Click Eclipse's "Help" menu to find the "Install New software ..." menu item. Such as:

Click on the "Install New software ..." menu item, as shown below:

Enter in "Work with": http://goclipse.github.io/releases/, click the Enter button directly, or click the "Add ..." button to add it manually. Such as:

Enter in "Name": Goclipse site

Enter in "Location": http://goclipse.github.io/releases/

Once the input is complete, simply click on the "OK" button.

Until it appears as:

Select the check box in the Red box before "Goclipse", and click the "Finish" button until the installation is complete.

2. Configure the go language within eclipse

Click Eclipse's "Window" menu item "Preferences". Such as:

Click on the "Preferences" menu item to display such as:

Click on the "Go" option on the left to display such as:

Click the "Browse ..." button on "Go Installation" to the right of "directory" and select the install directory for go, such as:

Click the "OK" button to determine the installation directory for the Go language.

Then click on the "Apply" button to apply the selection configuration.

Expand the left "Go" node and click on the "Tools" tool options, such as:

Gocode:go language Auto-complete Guardian Program

Guru:go Language Code navigation tool

Find symbol information in Godef:go language (not sure right)

If you have downloaded or installed the above three tools, then you can simply click the "Browse ..." button and select the appropriate object.

If you do not have to install Git first, you must restart eclipse after the installation is complete

Then click on Gocode, Guru and Godef after the "Download ..." button, to download, download completed, will automatically compile, automatically configure executable related directories.

You can complete the configuration by clicking the "OK" button when the settings are complete.

Then explain the go language related information

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.