怎么安装 Sublime Text 2的go 代码自动提示的文章在这里:
http://note.sdo.com/u/1642565465/n/xVUZp~jUezv2wE01800ec3
这里主要是Sulime Text 2 配置 go Build.
Tool>Build System>New Build System
{ "cmd": ["go", "run", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.go" }
保存即可。
编写一个main.go
按Ctrl+B测试,能运行成功,则配置成功