Closed Lofanmi closed 1 year ago
fixed, please update gocode to latest v1.5.0 请将 gotools & gocode 全部升级到最新版本,以解决之前工具 bug 。
go install github.com/visualfc/gotools@latest
go install github.com/visualfc/gocode@latest
Windows/Linux: copy GOPATH/bin gotools and gocode to liteide/bin
MacOS: copy GOPATH/bin gotools and gocode to LiteIDE.app/Contents/MacOS
感谢作者!已经可以了!
Please answer these questions before submitting your issue. Thanks! Please download LiteIDE latest version and test before submitting your issue. Thanks!
What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?
X38.1 Qt 5.15.2
What version of Go are you using (
go version
)?What operating system and processor architecture are you using(
go env
)?What did you do?
导入的包如果有泛型,代码补全就失效了。 代码跳转功能正常,自己包内的泛型支持也没问题。
If possible, provide a recipe for reproducing the error.
复现例子:
新建 main.go, go mod init xxx
What did you expect to see?
正常输入 fmt. 就会代码提示,但是并不会提示。
What did you see instead?
不会弹出代码提示。