美文网首页
GoSublime安装

GoSublime安装

作者: 失眠是真滴难受 | 来源:发表于2019-05-02 21:38 被阅读0次

参考链接

https://margo.sh/b/migrate/

https://margo.sh/b/hello-margo/

点击菜单: Preferences --> Browse Packages

打开Packages directory

image.png

打开Bit Bash Here ,git clone gosublime 包

git clone https://margo.sh/GoSublime

在 GoSublime\src 源代码目录中,新建 margo 子目录

将 GoSublime\src\margo.sh\extension-example 目录下的 extension-example.go 文件复制到

GoSublime\src\margo 目录 ,并改名 margo.go

重启 Sublime Text3 ,OK ,完成 !!!

GoSublime 插件完成 user setting

GOROOT安装目录

GOPATH工作路径

{
    "env": {
        "GOPATH": "/home/loser/go",
        "GOROOT": "/usr/lib/go"
    }
}
image.png

相关文章

网友评论

      本文标题:GoSublime安装

      本文链接:https://www.haomeiwen.com/subject/wkjonqtx.html