Go Ide
* * *
## VSCode
For the VSCode installation tutorial, see: [
Then we open the VSCode extensions (Ctrl+Shift+P):
!(#)
Search for "go":
!(#)
Click install. After installation is complete, we can use features like code completion, testing, and debugging.
!(https://static.jyshare.com/images/mix/completion-signature-help.gif)
* * *
## GoLand
GoLand is a Go language IDE from the Jetbrains family, with a 30-day free trial period.
Installation is also simple. Visit the (https://www.jetbrains.com/go/) and download the corresponding software for your current system environment (Mac, Linux, Windows).
!(#)
* * *
## LiteIDE
LiteIDE is an open-source, cross-platform, lightweight Go language integrated development environment (IDE).
### Supported Operating Systems
* Windows x86 (32-bit or 64-bit)
* Linux x86 (32-bit or 64-bit)
Download URL: [http://sourceforge.net/projects/liteide/files/](http://sourceforge.net/projects/liteide/files/)
Source code URL: [https://github.com/visualfc/liteide](https://github.com/visualfc/liteide)
!(#)
* * *
## Eclipse
Eclipse is also a very commonly used development tool. The following introduces how to use Eclipse to write Go programs.

Eclipse main interface for editing Go
1. First, download and install (http://www.eclipse.org/)
2. Download the (http://goclipse.github.io/) plugin [https://github.com/GoClipse/goclipse/blob/latest/documentation/Installation.md#installation](https://github.com/GoClipse/goclipse/blob/latest/documentation/Installation.md#installation)
3. Download gocode for Go code completion hints
gocode's GitHub address:
https://github.com/nsf/gocode
On Windows, you need to install git, typically using (https://gitforwindows.org/).
Then install via cmd:
go get -u github.com/nsf/gocode
You can also download the source code and compile it directly with `go build`, which will generate `gocode.exe`.
4. Download (http://sourceforge.net/projects/mingw/files/MinGW/) and install it as required
5. Configure the plugin
Windows->Reference->Go
(1), Configure the Go compiler

Set some basic information for Go
(2), Configure Gocode (optional, for code completion), set the Gocode path to the previously generated `gocode.exe` file

Set gocode information
(3), Configure GDB (optional, for debugging), set the GDB path to the `gdb.exe` file in the MinGW installation directory

Set GDB information
6. Test if it's successful
Create a new Go project, then create a `hello.go` file. As shown below:

Create a new project and edit the file
Debugging is as follows (you need to use commands in the console to debug):

Figure 1.16 Debugging a Go program
YouTip