1.Windows在cmd下使用tab自动补全设置:
cmd+r -> regedit -> HKEY_LOCAL_MACHINESoftwareMicrosoftCommand Processor -> CompletionChar -> 键值改为9 , 选择十进制。
2.sublime text 3 配置golang开发环境
I. win+r -> cmd 打开控制台,输入以下内容:
go get -u github.com/nsf/gocode
go install github.com/nsf/gocode
II. 打开sublime , Tools->Build System->New Build System
修改文本
{
"shell_cmd": "C:\Go\bin\go run $file",
"encoding": "utf-8"
}