Solved the Golang plugin dependency installation failure issue in VS Code
Vscode installed in ms - vscode. Go after code> plugins can open support for the language, the
ms - vscode. Go code> plugins need to rely on some tools, prompt after the installation is complete
Installing github.com/nsf/gocode SUCCEEDED
Installing github.com/uudashr/gopkgs/cmd/gopkgs SUCCEEDED
Installing github.com/ramya-rao-a/go-outline FAILED
Installing github.com/acroca/go-symbols FAILED
Installing golang.org/x/tools/cmd/guru FAILED
Installing golang.org/x/tools/cmd/gorename FAILED
Installing github.com/fatih/gomodifytags SUCCEEDED
Installing github.com/haya14busa/goplay/cmd/goplay SUCCEEDED
Installing github.com/josharian/impl FAILED
Installing github.com/rogpeppe/godef SUCCEEDED
Installing sourcegraph.com/sqs/goreturns FAILED
Installing golang.org/x/lint/golint FAILED
Installing github.com/cweill/gotests/... FAILED
Installing github.com/derekparker/delve/cmd/dlv SUCCEEDED
8 tools failed to install.
Due to network problems, some dependent tools cannot be installed properly, so manual installation is required.
Here are the steps for manually installing the tool:
GOPATH
- in
% % \ SRC \ code> directory and establish a path \ x code> golang.org into GOPATH%\src\golang.org % \ x code>, download tools, source code git clone https://github.com/golang/tools.git tools code> after the completion of the clone, A Tools folder will be generated so that the source code for the tool is ready to execute under % goPath %
go install github.com/ramya-rao-a/go-outline
go install github.com/acroca/go-symbols
go install golang.org/x/tools/cmd/guru
go install golang.org/x/tools/cmd/gorename
go install github.com/rogpeppe/godef
go install github.com/sqs/goreturns
go install github.com/cweill/gotests/gotests
Separate processing golint golint source is located in the https://github.com/golang/lint code>, enter GOPATH%\src\golang.org % \ x code> after the execution of git clone https://github.com/golang/lint code> download golint GOPATH need source code to the % % code>, the execution of go install github.com/golang/lint/golint code> ol>
This completes the installation of the tools on which VS Code's Golang plug-in depends.
Read More:
- How to solve the problem of failed installation of golang plug-in dependency in vscode under Windows
- Go: How to Fix plug-in installation failure in vscode of windows system
- Solve the problem that vscode cannot convert the easy less plug-in to the less expression value
- Error in adding jshint plug-in to vscode
- Solve the problem of Python in Windows environment: Fatal error in launcher: Unable to create process using'”‘ in pip installation
- Solve the problem of Chinese garbled code of actibpm plug-in in idea
- The vscode installation plug-in liveserver specified browser reported an error and could not be found
- Float: 99: input / output error appears in vscode SSH plug-in
- Solve the problem of USB mouse failure in the laptop mode of Ubuntu
- To solve the problem of loading rjava in installation of xlsx
- Solve the problem of “wireless network activation failure” in Ubuntu 18, and repeatedly pop up the password input interface
- To solve the problem in Windows opencv installation: error configuration process, project files may be invalid
- To solve the problem that deep in 20.2 system cannot save and transform the format of typora, and provide an effective installation method of typora
- Solution to CUDA installation failure problem visual studio integration failed
- Solve the problem of using in tensoft 2. X tf.contrib.slim No module named appears in the package: tensorflow.contrib problem
- Solve the problem that the local flow of the nifi node is inconsistent with the cluster flow, resulting in the failure to join the cluster
- Idea2020.2 encountered pom.xml The problem of file error report in Maven plug-in tomcat7
- MySQL installation failed: dpkg: error processing package MySQL server (- – configure): dependency problem
- Solve the slanting problem of vscode one dark Pro topic annotation
- Solve the problem of vscode window console “flash”