Idea Go Lang Debug Environment Setup

Source: Internet
Author: User
Tags install go
This is a created article in which the information may have evolved or changed.

Start to install Golang plug-in, plug-in website address:

Https://github.com/go-lang-plugin-org/go-lang-idea-plugin

Hint: Idea's plug-in warehouse itself also has go, but the version relative update is slow, bloggers write the article when the go version has been updated to 1.6, and idea itself plugin warehouse Go plugin is 15-12.01 updated, does not support the latest version of Go

Many tutorials on the web are downloading the plugin source code on GitHub, compiling the plug-in and installing it, it's tedious, and here's a very simple way to do it.

The address of the two JetBrains plugin repositories is given on GitHub:

One is a weekly compilation of the updated warehouse, one is a nightly compilation of the updated warehouse, here for the weekly example

Address: https://plugins.jetbrains.com/plugins/alpha/5047

Open Idea,file-settings-plugins-browse respositories...-manage respositories ...

Click on the + number, paste the address in, click OK, it is best to restart the idea, and then File-settings-plugins-browse respositories ...

Enter go, install go that plug-in, it is best not to download other things when installing, or it may be wrong.

restart,enjoy! after the installation.

Try File-new-project-go-next, then configure the Go SDK location and choose your Go installation directory.

It's all done. Then new a go file to play it ~ ~ ~ (Chingbo main test, new first go file can not debug, and then new one on it, it may be the software of the small bug it)

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.