怎样基于vs code建立golang开发环境?

ThoseFlowers · · 4831 次点击
好像智能下拉支持的不好,按了结构体的名字加“."后,不会出来结构体的元素。要按首字母,又出来一堆非结构体的元素。
#7
更多评论
我的**tasks.json**的配置是 ``` { "version": "0.1.0", // The command is tsc. Assumes that tsc has been installed using npm install -g typescript "command": "go", // The command is a shell script "isShellCommand": true, // Show the output window only if unrecognized errors occur. "showOutput": "silent", // args is the HelloWorld program to compile. "args": ["run","${file}"] } ```
#1
调试的方式 暂时我也没找到。。
#2