What are the best IDE for developing in Golang?
Which IDE do you use? Sure, you could go with the IDE youve been using for other languages, but is that the best IDE for Go?
You’ve done it. You’ve looked into Golang, and you’re convinced that it fits your use case — or maybe you just want to get started and code in your own local environment instead of an online playground.
Then comes the inevitable question: which IDE do you use? Sure, you could go with the IDE you’ve been using for other languages, but is that the best IDE for Go?
The short answer is that there is no clear answer.
Like many questions revolving IDEs, the answer is deeply subjective and dependent on what the user wants. I know that this is largely an unsatisfying answer, but it’s the only answer. To help you make that decision, I’ve aggregated a lot of information about a variety of IDEs along with some pros and cons.
Also, remember that when reading quotations from people online, always take the information with a grain of salt and use your own judgment.
Visual Studio Code (VSCode)
Commercial IDE and thus not free; for organizations,
Free for select open-source contributors as well as students
Designed for Go specifically — code completion, intention actions, quick-fixes, re-factorings, navigation available
IDE has to index your project files with configured GOPATH and vendor directory (one time operation)
IntelliJ IDEA with Go plugin
Free if you already have IntelliJ IDEA
Has most features GoLand offers
Keeps you in the Jetbrains infrastructure
Atom with go-plus package
Support for tools, build flows, linters, auto-complete, formatting, testing, documenation, debugging, etc.
There are a few more, but these frequently are talked about. Which one is your favorite?