快速学习-VScode开发Go只能提示设置

2020-04-08 15:42:35 浏览数 (1)

安装以下14个插件

代码语言:javascript复制
Installing 14 tools at GOPATH
  gocode
  gopkgs
  go-outline
  go-symbols
  guru
  gorename
  gomodifytags
  goplay
  impl
  godef
  goreturns
  golint
  gotests
  dlv

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 github.com/golang/lint/golint FAILED
Installing github.com/cweill/gotests FAILED
Installing github.com/derekparker/delve/cmd/dlv SUCCEEDED

注意:安装这些插件之前需要去github官网中下载对应的库,然后根据错误提示去GOPATH中的src目录中创建对应的目录(文件夹)即可。然后再次安装就会成功

0 人点赞