In our course we use Go as the main programming language. Furthermore, in order to benefit from
various development tools that Go provides, such as syntax highlighting, error checking, autocompletion, autoformatting,
etc, we encourage students to install and set up an
IDE that has a full-fledged support for Go language.
You suggest to choose between Geany and Visual Studio Code.
Geany has less features, but is also faster and has simpler installation than Visual Studio Code.
Visual Studio Code supports a rich set of features, thanks to
Go extension.
Please find below a step-by-step guide on installing a Go compiler and development tools, as well as Geany and Visual
Studio Code with support for Go. The above image shows the expected end result: a simple Go program executes
successfully in Visual Studio Code.
The guide is split in four steps. Follow the mandatory step (1.a) and (2.a), or (1.b) and (2.b), depending on your
operating system. As a result, you will install Go and Geany.
Steps (3) and (4) are optional. Step (4) should be similar for both platforms.
We will be using two links to download the software: