🎨 go1.13+ 自动完成失效问题 #6
This commit is contained in:
parent
cd9d0165c0
commit
3bf430e35f
|
@ -266,7 +266,7 @@ func checkEnv() {
|
||||||
if nil != err {
|
if nil != err {
|
||||||
event.EventQueue <- &event.Event{Code: event.EvtCodeGocodeNotFound}
|
event.EventQueue <- &event.Event{Code: event.EvtCodeGocodeNotFound}
|
||||||
|
|
||||||
logger.Warnf("Not found gocode [%s], please install it with this command: go get github.com/nsf/gocode", gocode)
|
logger.Warnf("Not found gocode [%s], please install it with this command: go get github.com/stamblerre/gocode", gocode)
|
||||||
}
|
}
|
||||||
|
|
||||||
ideStub := gulu.Go.GetExecutableInGOBIN("gotools")
|
ideStub := gulu.Go.GetExecutableInGOBIN("gotools")
|
||||||
|
|
12
pkg.sh
12
pkg.sh
|
@ -24,7 +24,7 @@ export GOARCH=amd64
|
||||||
echo wide-${ver}-${GOOS}-${GOARCH}.tar.gz
|
echo wide-${ver}-${GOOS}-${GOARCH}.tar.gz
|
||||||
go build
|
go build
|
||||||
go build github.com/visualfc/gotools
|
go build github.com/visualfc/gotools
|
||||||
go build github.com/nsf/gocode
|
go build github.com/stamblerre/gocode
|
||||||
tar zcf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} gotools gocode wide --exclude-vcs --exclude='conf/*.go' --exclude='i18n/*.go'
|
tar zcf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} gotools gocode wide --exclude-vcs --exclude='conf/*.go' --exclude='i18n/*.go'
|
||||||
rm -f wide gotools gocode
|
rm -f wide gotools gocode
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ export GOARCH=386
|
||||||
echo wide-${ver}-${GOOS}-${GOARCH}.tar.gz
|
echo wide-${ver}-${GOOS}-${GOARCH}.tar.gz
|
||||||
go build
|
go build
|
||||||
go build github.com/visualfc/gotools
|
go build github.com/visualfc/gotools
|
||||||
go build github.com/nsf/gocode
|
go build github.com/stamblerre/gocode
|
||||||
tar zcf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} gotools gocode wide --exclude-vcs --exclude='conf/*.go' --exclude='i18n/*.go'
|
tar zcf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} gotools gocode wide --exclude-vcs --exclude='conf/*.go' --exclude='i18n/*.go'
|
||||||
rm -f wide gotools gocode
|
rm -f wide gotools gocode
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ export GOARCH=amd64
|
||||||
echo wide-${ver}-${GOOS}-${GOARCH}.tar.gz
|
echo wide-${ver}-${GOOS}-${GOARCH}.tar.gz
|
||||||
go build
|
go build
|
||||||
go build github.com/visualfc/gotools
|
go build github.com/visualfc/gotools
|
||||||
go build github.com/nsf/gocode
|
go build github.com/stamblerre/gocode
|
||||||
tar zcf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} gotools gocode wide --exclude-vcs --exclude='conf/*.go' --exclude='i18n/*.go'
|
tar zcf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} gotools gocode wide --exclude-vcs --exclude='conf/*.go' --exclude='i18n/*.go'
|
||||||
rm -f wide gotools gocode
|
rm -f wide gotools gocode
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ export GOARCH=386
|
||||||
echo wide-${ver}-${GOOS}-${GOARCH}.tar.gz
|
echo wide-${ver}-${GOOS}-${GOARCH}.tar.gz
|
||||||
go build
|
go build
|
||||||
go build github.com/visualfc/gotools
|
go build github.com/visualfc/gotools
|
||||||
go build github.com/nsf/gocode
|
go build github.com/stamblerre/gocode
|
||||||
tar zcf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} gotools gocode wide --exclude-vcs --exclude='conf/*.go' --exclude='i18n/*.go'
|
tar zcf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} gotools gocode wide --exclude-vcs --exclude='conf/*.go' --exclude='i18n/*.go'
|
||||||
rm -f wide gotools gocode
|
rm -f wide gotools gocode
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ export GOARCH=amd64
|
||||||
echo wide-${ver}-${GOOS}-${GOARCH}.zip
|
echo wide-${ver}-${GOOS}-${GOARCH}.zip
|
||||||
go build
|
go build
|
||||||
go build github.com/visualfc/gotools
|
go build github.com/visualfc/gotools
|
||||||
go build github.com/nsf/gocode
|
go build github.com/stamblerre/gocode
|
||||||
zip -r -q ${target}/wide-${ver}-${GOOS}-${GOARCH}.zip ${list} gotools.exe gocode.exe wide.exe --exclude=conf/*.go --exclude=i18n/*.go
|
zip -r -q ${target}/wide-${ver}-${GOOS}-${GOARCH}.zip ${list} gotools.exe gocode.exe wide.exe --exclude=conf/*.go --exclude=i18n/*.go
|
||||||
rm -f wide.exe gotools.exe gocode.exe
|
rm -f wide.exe gotools.exe gocode.exe
|
||||||
|
|
||||||
|
@ -75,6 +75,6 @@ export GOARCH=386
|
||||||
echo wide-${ver}-${GOOS}-${GOARCH}.zip
|
echo wide-${ver}-${GOOS}-${GOARCH}.zip
|
||||||
go build
|
go build
|
||||||
go build github.com/visualfc/gotools
|
go build github.com/visualfc/gotools
|
||||||
go build github.com/nsf/gocode
|
go build github.com/stamblerre/gocode
|
||||||
zip -r -q ${target}/wide-${ver}-${GOOS}-${GOARCH}.zip ${list} gotools.exe gocode.exe wide.exe --exclude=conf/*.go --exclude=i18n/*.go
|
zip -r -q ${target}/wide-${ver}-${GOOS}-${GOARCH}.zip ${list} gotools.exe gocode.exe wide.exe --exclude=conf/*.go --exclude=i18n/*.go
|
||||||
rm -f wide.exe gotools.exe gocode.exe
|
rm -f wide.exe gotools.exe gocode.exe
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<a href="https://github.com/marijnh/CodeMirror" target="_blank">CodeMirror</a>
|
<a href="https://github.com/marijnh/CodeMirror" target="_blank">CodeMirror</a>
|
||||||
<a href="https://github.com/zTree/zTree_v3" target="_blank">zTree</a>
|
<a href="https://github.com/zTree/zTree_v3" target="_blank">zTree</a>
|
||||||
<a href="https://github.com/visualfc/liteide" target="_blank">LiteIDE</a>
|
<a href="https://github.com/visualfc/liteide" target="_blank">LiteIDE</a>
|
||||||
<a href="https://github.com/nsf/gocode" target="_blank">gocode</a>
|
<a href="https://github.com/stamblerre/gocode" target="_blank">gocode</a>
|
||||||
<a href="https://github.com/gorilla" target="_blank">Gorilla</a>
|
<a href="https://github.com/gorilla" target="_blank">Gorilla</a>
|
||||||
<a href="https://docker.com" target="_blank">Docker</a>
|
<a href="https://docker.com" target="_blank">Docker</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue