Integrated developer environments
The Integrated Developer Environments (IDEs) are essentially text editors with additional features that make writing code and building software easier. Text with special meaning, such as string literals, types, function names, and so on are often colored differently by syntax highlighting, or you may get autocomplete options as you're typing. Some editors even point out errors in your code before you've executed it.
There are many options to choose from, and mostly, it comes down to personal preference, but we will look at some of the more popular choices as well as how to set them up to build Go projects.
The most popular editors include the following:
- Sublime Text 3
- Visual Studio Code
- Atom
- Vim (with vim-go)
You can see a complete curated list of options at https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins.
In this section, we are going to explore Sublime Text 3 and Visual Studio Code.
Sublime Text 3
Sublime Text 3 is an excellent editor...