GoSublime 转到定义

huangapple go评论87阅读模式
英文:

GoSublime go to definition

问题

go to definition在GoSublime 2或3中是否可用?

我只得到了

GsDoc:未找到文档

据提到,该功能可用
https://github.com/DisposaBoy/GoSublime

并有文档记录
https://github.com/DisposaBoy/GoSublime/blob/master/USAGE.md

但我找到了一些一年或两年前的类似错误报告。

英文:

Does go to definition work in GoSublime 2 or 3 ?

I get only

GsDoc: no docs found

It is mentioned that that feature is available
https://github.com/DisposaBoy/GoSublime

and documented
https://github.com/DisposaBoy/GoSublime/blob/master/USAGE.md

But I found similar error reports year or two years old.

答案1

得分: 11

这个"转到定义"功能只适用于表达式pkgname.Funcname,但是设计(一般交互)尚未实现。

另外,你必须在GOPATHGOROOT中拥有源代码,否则GoSublime无法找到你的代码。

你可以在以下链接中了解更多信息:
https://github.com/DisposaBoy/GoSublime/issues/62

英文:

This go to definition only works with expression pkgname.Funcname, but the design(general interaction) is not implemented.

GoSublime 转到定义

By other way you must have the source code in the GOPATH or GOROOT, if not GoSublime cannot find your code.

You can read more about at:
https://github.com/DisposaBoy/GoSublime/issues/62

答案2

得分: 2

请看一下GoGuru。我写了一篇博客文章,介绍如何设置ST3进行golang开发。

英文:

Have a look at GoGuru. I have made a blog post how to setup ST3 for golang development.

huangapple
  • 本文由 发表于 2014年2月17日 22:57:30
  • 转载请务必保留本文链接:https://go.coder-hub.com/21832288.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定