Understanding IDE integration
Having a properly set up IDE is truly a blessing as we benefit from its features of code completion, functional linting, and so on. This way, we do not have to investigate the source code or documentation for every function we want to call.
In this section, we will look at the process of integrating TinyGo into VS Code, Goland, and other editors. This enables us to choose whatever editor we prefer to use.
VS Code integration
VS Code offers an extension system, which makes it easy to integrate the Go and TinyGo toolset into the IDE. We are going to install the Go Extension, which offers support for the Go programming language. Afterward, we are going to install the TinyGo extension, which brings TinyGo support.
The Go extension
We install the Go extension using the Extensions view using the following steps:
- Open the Extensions view either by clicking on the Extensions icon or pressing Ctrl + Shift + X.
- Search for Go.
- Select...