vscode 没有自动提示

lind · · 1307 次点击
go的自动提示 是基于gocode 查看你的bin下有没有gocode,如果有就是调试下gocode gocode exit gocode debug下
#4
更多评论
ctrl+shift+x 扩展要安装插件,确认都装了么 ``` Go for Visual Studio Code 插件 $GOPATH/bin 目录下有以下程序 dlv gocode gocode-gomod godef godef-gomod golint go-outline gopkgs gorename goreturns go-symbols guru ```
#1
Error: Command failed: C:\Go\bin\go.exe get -u -v golang.org/x/lint/golint Fetching https://golang.org/x/lint/golint?go-get=1 https fetch failed: Get https://golang.org/x/lint/golint?go-get=1: dial tcp 216.239.37.1:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. package golang.org/x/lint/golint: unrecognized import path "golang.org/x/lint/golint" (https fetch: Get https://golang.org/x/lint/golint?go-get=1: dial tcp 216.239.37.1:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) 安装扩展的时候都出现错误
#2