标签:没有 技术 eve 组件 压缩 环境 return 基本 ctrl
golang官网地址是 https://golang.org/dl/ 如果没有墙的话,可以用这个地址 https://golang.google.cn/dl/ 如图:
安装方式分两种(如上图):
组件名 | 对应Git地址 | 功能 |
---|---|---|
gocode | github.com/mdempsky/gocode | 自动补全 |
gopkgs | github.com/uudashr/gopkgs/cmd/gopkgs | 自动补全未导入的包 |
go-outline | github.com/ramya-rao-a/go-outline | 当前文件中进行符号搜索 |
go-symbols | github.com/acroca/go-symbols | 当前工作空间进行符号搜索 |
guru | golang.org/x/tools/cmd/guru | 查找所有引用 |
gorename | golang.org/x/tools/cmd/gorename | 重命名符号 |
dlv | github.com/go-delve/delve/cmd/dlv | 调试 |
godef | github.com/rogpeppe/godef | 转到定义功能 |
goreturns | github.com/sqs/goreturns | 格式化代码 |
golint | golang.org/x/lint/golint | 用在命令行上命名的GO文件 |
gotests | github.com/cweill/gotests/... | 生成单元测试 |
gomodifytags | github.com/fatih/gomodifytags | 修改结构提上的标签 |
impl | github.com/josharian/impl | 生成接口的存根 |
fillstruct | github.com/davidrjenni/reftools/cmd/fillstruct | 用默认值填充结构文字 |
goplay | github.com/haya14busa/goplay/cmd/goplay | GO后台运行当前文件 |
{
"git.ignoreLimitWarning": true,
"files.autoSave": "onFocusChange", //开启自动保存
"go.buildFlags": [],
"go.lintFlags": [],
"go.useCodeSnippetsOnFunctionSuggest": false,
"[go]": {
"editor.insertSpaces": false,
"editor.formatOnSave": true
},
"go.formatTool": "goreturns",
"go.goroot": "C:\\Go",
"go.gopath": "D:\\GoPath"
}
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
//"port": 2345,
//"host": "127.0.0.1",
"program": "${fileDirname}", //workspaceRoot
"env": {},
"args": [],
"showLog": true
}
]
}
window golang1.12.4 安装配置&IDE vscode
标签:没有 技术 eve 组件 压缩 环境 return 基本 ctrl
原文地址:https://www.cnblogs.com/nickchou/p/10765743.html