This is a creation in Article, where the information may have evolved or changed.
Visual Studio Code is Microsoft's launch of a cross-platform coding editor that can be used as an IDE for Golang development. The download address is: Download address: https://code.visualstudio.com/Download, after installation, you will also need to install the Go language plugin. Open Visual Studio Code, press the shortcut key ctrl+shift+p, enter install Extension, then search go, select the Go Development plug-in installation, reboot the IDE after the installation is complete. To facilitate the development of go, there are some Golang related tools that need to be installed. The extension uses the following tools, installed in the current Gopath. If any tools is missing, you'll see the ' analysis tools missing ' warning in the bottom right corner of the editor. Clicking it would offer to install the missing tools for you. Gocode:go Get-u-V github.com/nsf/gocode godef:go get-u-v github.com/rogpeppe/godef golint:go get-u-v GITHUB.C Om/golang/lint/golint Go-find-references:go get-u-v github.com/lukehoban/go-find-references go-outline:go get-u- V github.com/lukehoban/go-outline goreturns:go get-u-v sourcegraph.com/sqs/goreturns gorename:go get-u-v Golang. Org/x/tools/cmd/gorename Gopkgs:go get-u-v github.com/tpng/gopkgs go-symbols:go get-u-v Github.com/newhook/go-sy MboLS To install them just paste and run:go get-u-v github.com/nsf/gocode go get-u-v github.com/rogpeppe/godef G o get-u-v github.com/golang/lint/golint go get-u-v github.com/lukehoban/go-find-references go get-u-v github.com /lukehoban/go-outline Go get-u-v sourcegraph.com/sqs/goreturns go get-u-v golang.org/x/tools/cmd/gorename go get -u-v github.com/tpng/gopkgs Go get-u-v github.com/newhook/go-symbols you need to install go sdk,git before installing the above tools. Because the installation process will download some Google resources, so your computer environment needs to be able to access Google's related services, if not access, please search the way to turn the wall.
Reference: Https://marketplace.visualstudio.com/items?itemName=lukehoban.Go