GoSublime配置

1.//第三方包(包括自身的包)的智能提示

&:需要将第三方包的项目(go install后)添加到GOPATH中[即在项目的pkg中生成*.a文件].

2.//GoSublime的windows配置参考

Preferences->Package Settings ->GoSublime->Settings - user 中设置
{
    "env": {
     "GOROOT":"D:\\go",
     "GOPATH": "E:\\golang",
    }
}

3.//Error loading syntax file "Packages/GoSublime/GoSublime-master/syntax/GoSublime-Go.tmLanguage"

报错:This just happened after a Package Control update and restart.

Error loading syntax file "Packages/GoSublime/GoSublime-master/syntax/GoSublime-Go.tmLanguage": Error parsing plist xml: Failed to open file In file "Packages/GoSublime/GoSublime-master/syntax/GoSublime-Go.tmLanguage"

&:(暂时方法,每次GoSublime更新后要重做)找到C:\Users\chenhao\AppData\Roaming\Sublime Text 2\Packages\GoSublime,新建文件夹GoSublime-master,复制当前目录下所有文件到GoSublime-master中即可.

4.//没有提示

查看gosublime的GOPATH设置正确没.

你可能感兴趣的:(配置,提示,gosublime)