15

Windows系统 Visual Studio Code 安装go插件失败分析及解决方案

 3 years ago
source link: https://studygolang.com/articles/32188
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Windows系统 Visual Studio Code 安装go插件失败分析及解决方案

omygad · 大约15小时之前 · 54 次点击 · 预计阅读时间 1 分钟 · 不到1分钟之前 开始浏览    

创建github.com插件目录及下载插件
cd GOPATH/src/github.com
mkdir acroca cweill derekparker go-delve josharian karrick mdempsky pkg ramya-rao-a rogpeppe sqs uudashr
cd GOPATH/src/github.com/cweill
git clone https://github.com/cweill/gotests.git
cd GOPATH/src/github.com/go-delve
git clone https://github.com/go-delve/delve.git
cd GOPATH/src/github.com/karrick
git clone https://github.com/karrick/godirwalk.git
cd GOPATH/src/github.com/pkg
git clone https://github.com/pkg/errors.git
cd GOPATH/src/github.com/rogpeppe
git clone https://github.com/rogpeppe/godef.git

cd GOPATH/src/github.com/uudashr
git clone https://github.com/uudashr/gopkgs.git

创建golang.org插件目录及下载插件
cd $GOPATH/src
mkdir -p golang.org/x
cd golang.org/x
git clone https://github.com/golang/tools.git
git clone https://github.com/golang/lint.git

手动安装插件
cd $GOPATH/src
go install github.com/mdempsky/gocode
go install github.com/uudashr/gopkgs/cmd/gopkgs
go install github.com/ramya-rao-a/go-outline
go install github.com/acroca/go-symbols
go install github.com/rogpeppe/godef
go install github.com/sqs/goreturns
go install github.com/derekparker/delve/cmd/dlv
go install github.com/cweill/gotests
go install github.com/josharian/impl
go install golang.org/x/tools/cmd/guru
go install golang.org/x/tools/cmd/gorename
go install golang.org/x/lint/golint


有疑问加站长微信联系(非本文作者)

280

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:1006366459


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK