I started using IntelliJ recently. Here is the key map that can be useful:
References:
https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf
1) Install Vscode Go plugin.2) Create a project3) I still had this error:
4) To fix this, I downloaded the go 1.15 separately.
5) Set GOPATH - export PATH=$PATH:/usr/local/go/bin/go
1) Open settings in vscode
2) Search for "gopath" & open "settings.json"
3) Set goroot & gopath in this file
4) After this, I had to restart vscode. After restart, vscode threw some pop ups to install a few things & I proceeded with those:
Tools environment: GOPATH=/Users/babuneelam/Projects/GoProjects/go_pathInstalling 1 tool at /Users/babuneelam/Projects/GoProjects/go_path/bin in module mode.goplsInstalling github.com/mdempsky/gocode SUCCEEDEDInstalling github.com/uudashr/gopkgs/v2/cmd/gopkgs SUCCEEDEDInstalling github.com/ramya-rao-a/go-outline SUCCEEDEDInstalling golang.org/x/tools/gopls SUCCEEDEDAll tools successfully installed. You are ready to Go :).Installing github.com/acroca/go-symbols SUCCEEDEDInstalling golang.org/x/tools/cmd/guru SUCCEEDEDInstalling golang.org/x/tools/cmd/gorename SUCCEEDEDInstalling github.com/cweill/gotests/... SUCCEEDEDInstalling github.com/fatih/gomodifytags SUCCEEDEDInstalling github.com/josharian/impl SUCCEEDEDInstalling github.com/davidrjenni/reftools/cmd/fillstruct SUCCEEDEDInstalling github.com/haya14busa/goplay/cmd/goplay SUCCEEDEDInstalling github.com/godoctor/godoctor SUCCEEDEDInstalling github.com/go-delve/delve/cmd/dlv SUCCEEDEDInstalling github.com/stamblerre/gocode SUCCEEDEDInstalling github.com/rogpeppe/godef SUCCEEDEDInstalling github.com/sqs/goreturns SUCCEEDEDInstalling golang.org/x/lint/golint SUCCEEDEDAll tools successfully installed. You are ready to Go :).Tools environment: GOPATH=/Users/babuneelam/Projects/GoProjects/go_pathInstalling 1 tool at /Users/babuneelam/Projects/GoProjects/go_path/bin in module mode.goimportsInstalling golang.org/x/tools/cmd/goimports SUCCEEDEDAll tools successfully installed. You are ready to Go :).
5) Run & Launch. We can also set breakpoints too now.
1) Tried to look for a Go plugin in IntelliJ Plugins, couldn't find it.
2) Downloaded Go plugin from IntelliJ Go Plugins and followed instructions as provided at "Install Plugins from disk". But, the installation threw these errors:
it was always in the plan to have Go plugin functionality available as part of the GoLand IDE. If you want Go functionality combined with other technologies, then IntelliJ IDEA Ultimate is the right choice for you