Home
Sign Up
Sign In
›
Visual Studio Code
V2EX
›
Visual Studio Code
vscode 里 go.mod 与语法补全
wusu
·
Feb 6, 2023
· 2804 views
This topic created in 1366 days ago, the information mentioned may be changed or developed.
vscode 写 golang 项目,如果 go.mod 文件里有依赖不能拉取,那么整个项目的语法补全都不能用了,goland 里只会影响不能拉取的部分,这个有配置项吗,还是只能这样
VSCode
语法
Golang
goland
3 replies
•
2023-02-06 17:53:39 +08:00
xuyang2
Feb 6, 2023
1
命令行 `go build` 或者 `go mod tidy` 成功之后,再重启 vscode/goland 试试
kaf
Feb 6, 2023
2
这个和 ide 没关系,是 go 项目就这样
sunny352787
Feb 6, 2023
3
要不,先解决依赖不能拉取的问题?
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
3085 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 39ms ·
UTC 10:47
·
PVG 18:47
·
LAX 02:47
·
JFK 05:47
♥ Do have faith in what you're doing.
❯